cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A140511 a(n) = (prime(n)^2 + prime(n+1))/2.

This page as a plain text file.
%I A140511 #14 Mar 25 2023 08:20:28
%S A140511 7,16,30,67,93,154,192,279,436,499,705,862,948,1131,1434,1771,1894,
%T A140511 2280,2557,2704,3162,3489,4009,4755,5152,5358,5779,5997,6448,8130,
%U A140511 8649,9454,9735,11176,11479,12406,13368,14031,15054,16111,16476,18337,18723,19504
%N A140511 a(n) = (prime(n)^2 + prime(n+1))/2.
%H A140511 G. C. Greubel, <a href="/A140511/b140511.txt">Table of n, a(n) for n = 2..1000</a>
%F A140511 a(n) = (A001248(n) + A000040(n+1))/2. - _Elmo R. Oliveira_, Mar 24 2023
%t A140511 (#[[1]]^2+#[[2]])/2&/@Partition[Prime[Range[2,50]],2,1] (* _Harvey P. Dale_, Oct 15 2015 *)
%o A140511 (PARI) for(n=2,50, print1(((prime(n))^2 + prime(n+1))/2, ", ")) \\ _G. C. Greubel_, Feb 23 2017
%Y A140511 Cf. A000040, A001248.
%K A140511 nonn
%O A140511 2,1
%A A140511 _Alexander R. Povolotsky_, Jun 30 2008
%E A140511 More terms from _Harvey P. Dale_, Oct 15 2015