The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A212275 Least k such that 4*n*k+1 is a prime of the form m^2+1, or 0 if no such k exists. 1
 1, 2, 3, 1, 5, 24, 7, 8, 1, 10, 99, 12, 13, 56, 135, 4, 425, 8, 4275, 5, 84, 352, 368, 6, 1, 234, 12, 28, 116, 120, 124, 2, 33, 306, 315, 4, 37, 3800, 156, 10, 6929, 42, 1075, 176, 45, 184, 47, 3, 1, 2, 204, 117, 1908, 6, 55, 14, 1425, 58, 236, 60, 10309, 62 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS Conjecture: a(n)>0. If the conjecture is true, then there exist infinitely many primes of the form m^2+1. LINKS Alois P. Heinz and Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 (first 1000 terms from Heinz) MAPLE a:= proc(n) local k;       for k while not(isprime(4*n*k+1) and issqr (n*k)) do od; k     end: seq (a(n), n=1..70);  # Alois P. Heinz, May 13 2012 PROG (PARI) a(n)=my(N=4*n*core(n), k=0); while(!isprime(k++^2*N+1), ); k^2*N/(4*n) \\ Charles R Greathouse IV, May 14 2012 (MAGMA) S:=[]; for n in [1..62] do k:=1; while not IsPrime(4*n*k+1) or not IsSquare(n*k) do k:=k+1; end while; Append(~S, k); end for; S; // Bruno Berselli, May 15 2012 CROSSREFS Cf. A002496. Sequence in context: A231733 A182822 A137211 * A189036 A319952 A174665 Adjacent sequences:  A212272 A212273 A212274 * A212276 A212277 A212278 KEYWORD nonn,easy AUTHOR Vladimir Shevelev, May 13 2012 STATUS approved

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

Last modified May 12 21:43 EDT 2021. Contains 343829 sequences. (Running on oeis4.)