login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089761 Smallest k such that k*i^2 + 1 is prime for i = 1 to n. 0

%I #14 Aug 14 2017 23:30:37

%S 1,1,4,22,58,58,58,54972,68112,4748632,861066640,861066640,861066640,

%T 861066640,861066640

%N Smallest k such that k*i^2 + 1 is prime for i = 1 to n.

%C a(16) > 1.4*10^13. [_Max Alekseyev_]

%p for n from 1 to 10 do for k from 1 do f:=0: for i from 1 to n do if not isprime(k*i^2+1) then f:=1: break fi od: if f=0 then printf("%d, ",k): break fi od od: # C. Ronaldo

%Y Cf. A124417.

%K hard,more,nonn

%O 1,3

%A _Amarnath Murthy_, Nov 22 2003

%E Corrected and extended by C. Ronaldo (aga_new_ac(AT)hotmail.com), Dec 26 2004

%E a(11)-a(15) from _Donovan Johnson_, Sep 27 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 05:02 EDT 2024. Contains 371782 sequences. (Running on oeis4.)