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!)
A239390 Values of n such that n^2 + (n-d)^2 is prime for a record first value of d. 3
2, 4, 7, 16, 21, 29, 42, 69, 300, 301, 399, 651, 957, 5931, 8319, 11778, 13587, 13704, 15507, 37452, 37506, 62766, 94698, 182193, 217989, 227247, 306084, 312018, 318849, 530607, 4054218, 4643481, 5094039, 5393553, 7245414, 7811964, 9119988, 11927643, 24778644, 43709337, 55244217 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A239391 for the corresponding values of d.
LINKS
MATHEMATICA
greatestK[n_] := Module[{k = 1}, While[! PrimeQ[n^2 + (n - k)^2], k++]; k]; nn = 10000; t = {}; kMax = 0; Do[k = greatestK[n]; If[k > kMax, kMax = k; AppendTo[t, {n, k}]], {n, 2, nn}]; Transpose[t][[1]]
CROSSREFS
Cf. A069002 (least number d such that n^2 + (n-d)^2 is prime).
Sequence in context: A135131 A032363 A303749 * A338647 A372097 A361334
KEYWORD
nonn
AUTHOR
T. D. Noe, Mar 19 2014
EXTENSIONS
a(38)-a(41) from Chai Wah Wu, Feb 06 2020
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 July 17 12:34 EDT 2024. Contains 374377 sequences. (Running on oeis4.)