login
A352851
a(n) = prime(n)^2 + prime(n+1).
3
7, 14, 32, 60, 134, 186, 308, 384, 558, 872, 998, 1410, 1724, 1896, 2262, 2868, 3542, 3788, 4560, 5114, 5408, 6324, 6978, 8018, 9510, 10304, 10716, 11558, 11994, 12896, 16260, 17298, 18908, 19470, 22352, 22958, 24812, 26736, 28062, 30108, 32222, 32952, 36674, 37446, 39008, 39812, 44744, 49956
OFFSET
1,1
LINKS
FORMULA
a(n) = A001248(n) + A000040(n+1).
a(n) = 2*A140511(n), for n>1. - Michel Marcus, Mar 25 2023
EXAMPLE
a(3) = 5^2 + 7 = 32.
MAPLE
seq(ithprime(i)^2+ithprime(i+1), i=1..100);
MATHEMATICA
a[n_] := Prime[n]^2 + Prime[n + 1]; Array[a, 50] (* Amiram Eldar, Apr 07 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Apr 05 2022
STATUS
approved