login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A365288
a(n) is the least positive integer that can be expressed as the sum of a prime number and a square of a nonnegative integer in exactly n ways.
3
1, 2, 3, 11, 38, 107, 83, 167, 293, 227, 398, 677, 668, 902, 908, 1238, 1487, 1448, 1748, 1592, 2273, 2672, 3167, 3947, 4457, 3632, 3713, 6047, 5843, 7052, 8123, 5792, 5297, 9602, 9092, 6368, 9908, 13268, 8153, 9833, 8777, 16112, 15923, 14528, 14852, 18233
OFFSET
0,2
EXAMPLE
For n = 3: 11 = 2 + 3^2 = 7 + 2^2 = 11 + 0^2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 31 2023
STATUS
approved