Question and Answers Forum

All Question   Topic List

Question Number 168458 by aaaspots last updated on 11/Apr/22

How to check f g is the smallest  h I have no idea

Howtocheckfgisthesmallest hIhavenoidea Find the smallest positive integer n for which the function f(n) = n^2 + n + 17 is composite. Do the same for the functions g(n) = n^2 + 21n + 1 and h(n) = 3n^2 + 3n + 23\n

Commented byRasheed.Sindhi last updated on 11/Apr/22

f(n)=n^2 +n+17  f(17) is certainly composite:    f(17)=17^2 +17+17=17(17+1+1)  So the required n≤17  Test for f(1),f(2),...,f(16).They′re  all primes.  ∴ The smallest n for which f(n) is  composite is 17.  Don′t know simpler method.

f(n)=n2+n+17 f(17)iscertainlycomposite: f(17)=172+17+17=17(17+1+1) Sotherequiredn17 Testforf(1),f(2),...,f(16).Theyre allprimes. Thesmallestnforwhichf(n)is compositeis17. Dontknowsimplermethod.

Terms of Service

Privacy Policy

Contact: info@tinkutara.com