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!)
A239391 The record values of d for the n in A239390. 2
1, 3, 5, 7, 11, 13, 17, 29, 37, 41, 43, 67, 95, 97, 109, 113, 115, 119, 167, 179, 181, 205, 211, 215, 229, 235, 265, 281, 319, 359, 373, 401, 413, 421, 439, 443, 461, 505, 545, 559, 719, 745, 775, 941 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
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][[2]]
CROSSREFS
Cf. A069002 (least number d such that n^2 + (n-d)^2 is prime).
Sequence in context: A108816 A088503 A118939 * A087382 A355845 A025127
KEYWORD
nonn,more
AUTHOR
T. D. Noe, Mar 19 2014
EXTENSIONS
a(38)-a(41) from Chai Wah Wu, Feb 06 2020
a(42)-a(44) from Chai Wah Wu, Feb 08 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 April 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)