OFFSET
1,2
COMMENTS
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..40
EXAMPLE
26 + 9^2 is prime, and 26 + 1^2, 26 + 2^2, ..., 26 + 8^2 are all composite; numbers 1..25 all have some square less than 9^2 for which the sum is prime, so 26 is in this sequence. The first few primes generated by these terms are as follows:
1 + 1^2 = 2
3 + 2^2 = 7
5 + 6^2 = 41
24 + 7^2 = 73
26 + 9^2 = 107
29 + 12^2 = 173
41 + 24^2 = 617
290 + 27^2 = 1019
314 + 45^2 = 2339
626 + 69^2 = 5387
1784 + 93^2 = 10433
6041 + 114^2 = 19037
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Charles R Greathouse IV, Jul 17 2016
STATUS
approved