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.

A135482 a(n) = (1/4)*Sum_{j=1..n} 2^prime(j).

This page as a plain text file.
%I A135482 #32 Mar 20 2022 17:34:13
%S A135482 0,1,3,11,43,555,2603,35371,166443,2263595,136481323,673352235,
%T A135482 35033090603,584788904491,2783812160043,37968184248875,
%U A135482 2289767997934123,146404956073789995,722865708377213483,37616353855796316715,627912164214501968427,2989095405649324575275
%N A135482 a(n) = (1/4)*Sum_{j=1..n} 2^prime(j).
%H A135482 G. C. Greubel, <a href="/A135482/b135482.txt">Table of n, a(n) for n = 0..450</a> (a(0) = 0 added by _M. F. Hasler_).
%F A135482 a(n) = A076793(n)/4. - _M. F. Hasler_, Oct 30 2018
%p A135482 A135482:= n-> add(2^ithprime(i)/4, i=1..n): seq(A135482(n), n=0..20); # _Wesley Ivan Hurt_, Feb 02 2014
%t A135482 Accumulate[Table[Floor[2^i/4],{i,Prime[Range[20]]}]] (* _Harvey P. Dale_, Dec 05 2013 *)
%o A135482 (Magma) [&+[2^(NthPrime(k)-2): k in [1..n]]: n in [1..25]]; // _Bruno Berselli_, Sep 24 2015
%o A135482 (PARI) a(n) = sum(k=1, n, 2^prime(k))/4; \\ _Michel Marcus_, Oct 15 2016
%Y A135482 Cf. A000040, A000079, A076793, A080355.
%Y A135482 Partial sums of A135620.
%K A135482 nonn
%O A135482 0,3
%A A135482 _Ctibor O. Zizka_, Feb 07 2008
%E A135482 More terms from _Harvey P. Dale_, Dec 05 2013
%E A135482 a(0) = 0 prepended by _M. F. Hasler_, Oct 30 2018