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!)
A247965 a(n) is the smallest number k such that m*k^2+1 is prime for all m = 1 to n. 0
1, 1, 6, 3240, 113730, 30473520, 3776600100, 16341921960, 3332396388090 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Conjecture : the sequence is infinite.
a(10) > 15466500000000. a(11) > 107669100000000. - Hiroaki Yamanouchi, Oct 01 2014
LINKS
EXAMPLE
a(3)=6 because 6^2+1 = 37, 2*6^2+1 = 73 and 3*6^2+1 = 109 are prime numbers.
The resulting primes begin like this:
2;
2, 3;
37, 73, 109;
10497601, 20995201, 31492801, 41990401;
... - Michel Marcus, Sep 29 2014
MAPLE
for n from 1 to 6 do:
ii:=0:
for k from 1 to 10^10 while(ii=0) do:
ind:=0:
for m from 1 to n do:
p:=m*k^2+1:
if type(p, prime) then
ind:=ind+1:
fi:
od:
if ind=n then
ii:=1:printf ( "%d %d \n", n, k):
fi:
od:
od:
PROG
(PARI)
a(n)=k=1; while(k, c=0; for(i=1, n, if(!ispseudoprime(i*k^2+1), c++; break)); if(!c, return(k)); if(c, k++))
n=1; while(n<10, print1(a(n), ", "); n++) \\ Derek Orr, Sep 28 2014
CROSSREFS
Sequence in context: A274083 A079183 A030245 * A172955 A283885 A198706
KEYWORD
nonn,hard,more
AUTHOR
Michel Lagneau, Sep 28 2014
EXTENSIONS
a(7)-a(9) from Hiroaki Yamanouchi, Oct 01 2014
STATUS
approved

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 25 12:53 EDT 2024. Contains 371969 sequences. (Running on oeis4.)