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.

A153480 a(n) = 2*prime(n)^2 - 4.

This page as a plain text file.
%I A153480 #14 Sep 08 2022 08:45:39
%S A153480 4,14,46,94,238,334,574,718,1054,1678,1918,2734,3358,3694,4414,5614,
%T A153480 6958,7438,8974,10078,10654,12478,13774,15838,18814,20398,21214,22894,
%U A153480 23758,25534,32254,34318,37534,38638,44398,45598,49294,53134,55774
%N A153480 a(n) = 2*prime(n)^2 - 4.
%H A153480 G. C. Greubel, <a href="/A153480/b153480.txt">Table of n, a(n) for n = 0..1000</a>
%F A153480 a(n) = A079704(n)-4 = 2*A049001(n). - _R. J. Mathar_, Jan 03 2009
%t A153480 Clear[a, k]; a[k_] := 2*Prime[k]^2 - 4; Table[a[k], {k, 1, 30}]
%t A153480 2*Prime[Range[25]]^2 - 4 (* _G. C. Greubel_, Aug 18 2016 *)
%t A153480 Table[2 Prime[n]^2 - 4, {n, 60}] (* _Vincenzo Librandi_, Aug 19 2016 *)
%o A153480 (Magma) [2*NthPrime(n)^2-4: n in [1..40]]; // _Vincenzo Librandi_, Aug 19 2016
%Y A153480 Cf. A079704, A049001.
%K A153480 nonn
%O A153480 0,1
%A A153480 _Roger L. Bagula_, Dec 27 2008
%E A153480 Extended by _R. J. Mathar_, Jan 03 2009