|
|
A260679
|
|
a(n) = n+(17-n)^2.
|
|
1
|
|
|
257, 227, 199, 173, 149, 127, 107, 89, 73, 59, 47, 37, 29, 23, 19, 17, 17, 19, 23, 29, 37, 47, 59, 73, 89, 107, 127, 149, 173, 199, 227, 257, 289, 323, 359, 397, 437, 479, 523, 569, 617, 667, 719, 773, 829, 887, 947, 1009, 1073, 1139, 1207, 1277, 1349, 1423, 1499, 1577, 1657
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Motivated by the fact that the first 32 terms of this sequence are primes. This has an explanation through Heegener numbers, similar to Euler's prime-generating polynomial (cf. A002837 and related crossrefs).
See also A007635 for the primes in this sequence, A260678 for indices k for which a(k) is composite.
Sequence provides all numbers m for which 4*m-67 is a square. [Bruno Berselli, Nov 16 2015]
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(257 - 544*x + 289*x^2)/(1 - x)^3.
|
|
MATHEMATICA
|
LinearRecurrence[{3, -3, 1}, {257, 227, 199}, 60] (* Harvey P. Dale, May 12 2019 *)
|
|
PROG
|
(PARI) for(n=1, 99, print1(n+(17-n)^2, ", "))
|
|
CROSSREFS
|
Cf. A007635 (primes in this sequence = primes of the form n^2+n+17).
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|