Menu Close

How-to-check-f-g-is-the-smallest-h-I-have-no-idea-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




Question Number 168458 by aaaspots last updated on 11/Apr/22
How to check f g is the smallest  h I have no idea  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
HowtocheckfgisthesmallesthIhavenoideaFind 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
Commented by Rasheed.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+17f(17)iscertainlycomposite:f(17)=172+17+17=17(17+1+1)Sotherequiredn17Testforf(1),f(2),,f(16).Theyreallprimes.Thesmallestnforwhichf(n)iscompositeis17.Dontknowsimplermethod.

Leave a Reply

Your email address will not be published. Required fields are marked *