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).

Original entry on oeis.org

0, 1, 3, 11, 43, 555, 2603, 35371, 166443, 2263595, 136481323, 673352235, 35033090603, 584788904491, 2783812160043, 37968184248875, 2289767997934123, 146404956073789995, 722865708377213483, 37616353855796316715, 627912164214501968427, 2989095405649324575275
Offset: 0

Views

Author

Ctibor O. Zizka, Feb 07 2008

Keywords

Crossrefs

Partial sums of A135620.

Programs

  • Magma
    [&+[2^(NthPrime(k)-2): k in [1..n]]: n in [1..25]]; // Bruno Berselli, Sep 24 2015
    
  • Maple
    A135482:= n-> add(2^ithprime(i)/4, i=1..n): seq(A135482(n), n=0..20); # Wesley Ivan Hurt, Feb 02 2014
  • Mathematica
    Accumulate[Table[Floor[2^i/4],{i,Prime[Range[20]]}]] (* Harvey P. Dale, Dec 05 2013 *)
  • PARI
    a(n) = sum(k=1, n, 2^prime(k))/4; \\ Michel Marcus, Oct 15 2016

Formula

a(n) = A076793(n)/4. - M. F. Hasler, Oct 30 2018

Extensions

More terms from Harvey P. Dale, Dec 05 2013
a(0) = 0 prepended by M. F. Hasler, Oct 30 2018