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”).
%I #14 Mar 25 2023 08:19:35
%S 7,14,32,60,134,186,308,384,558,872,998,1410,1724,1896,2262,2868,3542,
%T 3788,4560,5114,5408,6324,6978,8018,9510,10304,10716,11558,11994,
%U 12896,16260,17298,18908,19470,22352,22958,24812,26736,28062,30108,32222,32952,36674,37446,39008,39812,44744,49956
%N a(n) = prime(n)^2 + prime(n+1).
%H Robert Israel, <a href="/A352851/b352851.txt">Table of n, a(n) for n = 1..10000</a>
%F a(n) = A001248(n) + A000040(n+1).
%F a(n) = 2*A140511(n), for n>1. - _Michel Marcus_, Mar 25 2023
%e a(3) = 5^2 + 7 = 32.
%p seq(ithprime(i)^2+ithprime(i+1), i=1..100);
%t a[n_] := Prime[n]^2 + Prime[n + 1]; Array[a, 50] (* _Amiram Eldar_, Apr 07 2022 *)
%Y Cf. A000040, A001248, A140511, A349660.
%K nonn
%O 1,1
%A _Robert Israel_, Apr 05 2022