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.

A213926 prime(n^2) - prime(n).

This page as a plain text file.
%I A213926 #18 Sep 08 2022 08:46:02
%S A213926 0,4,18,46,86,138,210,292,396,512,630,790,968,1150,1380,1566,1820,
%T A213926 2082,2370,2670,3010,3382,3720,4122,4540,4950,5416,5900,6372,6884,
%U A213926 7446,8030,8600,9202,9782,10476,11164,11886,12576,13326,14148,14920,15686,16554,17412
%N A213926 prime(n^2) - prime(n).
%H A213926 Vincenzo Librandi, <a href="/A213926/b213926.txt">Table of n, a(n) for n = 1..1000</a>
%F A213926 a(n) = A000040(n^2) - A000040(n).
%p A213926 A213926 := proc(n) ithprime(n^2)-ithprime(n) ; end proc: seq(A213926(n), n=1..40) ;
%t A213926 Table[Prime[n^2] - Prime[n], {n, 40}]
%o A213926 (Magma) [NthPrime(n^2)-NthPrime(n): n in [1..40]];
%o A213926 (PARI) a(n)=prime(n^2)-prime(n) \\ _Charles R Greathouse IV_, Mar 21 2014
%Y A213926 Cf. A000040, A001223, A031131, A031165 - A031172, A072473, A092504.
%K A213926 nonn,easy
%O A213926 1,2
%A A213926 _Vincenzo Librandi_, Mar 06 2013