login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054541 Sum of first n terms equals n-th prime. 11
2, 1, 2, 2, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 6, 6, 2, 6, 4, 2, 6, 4, 6, 8, 4, 2, 4, 2, 4, 14, 4, 6, 2, 10, 2, 6, 6, 4, 6, 6, 2, 10, 2, 4, 2, 12, 12, 4, 2, 4, 6, 2, 10, 6, 6, 6, 2, 6, 4, 2, 10, 14, 4, 2, 4, 14, 6, 10, 2, 4, 6, 8, 6, 6, 4, 6, 8, 4, 8, 10, 2, 10, 2, 6, 4, 6, 8, 4, 2, 4, 12, 8, 4, 8, 4, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Except for first term, same as A001223.

First differences of A182986. - Omar E. Pol, Oct 31 2013

A075526 is 1 together with A001223. This is 2 together with A001223. A125266 is 3 together with A001223. - Omar E. Pol, Nov 01 2013

LINKS

Table of n, a(n) for n=1..97.

PROG

(PARI) a(n) = if (n==1, 2, prime(n) - prime(n-1)); \\ Michel Marcus, Oct 31 2013

CROSSREFS

Cf. A000040.

Sequence in context: A205779 A205551 A281130 * A277891 A102722 A225530

Adjacent sequences:  A054538 A054539 A054540 * A054542 A054543 A054544

KEYWORD

nonn

AUTHOR

G. L. Honaker, Jr., Apr 09 2000

EXTENSIONS

More terms from James A. Sellers, Apr 11 2000

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 16 12:00 EDT 2018. Contains 316263 sequences. (Running on oeis4.)