login
A187409
n^2 + nextprime(n^2).
0
3, 9, 20, 33, 54, 73, 102, 131, 164, 201, 248, 293, 342, 393, 452, 513, 582, 655, 728, 801, 884, 971, 1070, 1153, 1256, 1353, 1462, 1571, 1694, 1807, 1928, 2055, 2180, 2319, 2454, 2593, 2742, 2891, 3044, 3201, 3374, 3541, 3710, 3885, 4052, 4245, 4422, 4613
OFFSET
1,1
EXAMPLE
1^2+2=3, 2^2+5=9, 3^2+11=20,..
MATHEMATICA
Table[n2=n^2; NextPrime[n2]+n2, {n, 100}]
#+NextPrime[#]&/@(Range[100]^2) (* Harvey P. Dale, Sep 20 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved