login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160793 Natural numbers and the sum of first n primes interleaved. 4
1, 2, 2, 5, 3, 10, 4, 17, 5, 28, 6, 41, 7, 58, 8, 77, 9, 100, 10, 129, 11, 160, 12, 197, 13, 238, 14, 281, 15, 328, 16, 381, 17, 440, 18, 501, 19, 568, 20, 639, 21, 712, 22, 791, 23, 874, 24, 963, 25, 1060, 26, 1161, 27, 1264, 28, 1371, 29, 1480 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Also first differences of A160792: length of edges of a square spiral related to prime numbers A000040 whose vertices are the numbers A160792.

A000027 and A007504 interleaved. - Omar E. Pol, Oct 31 2011

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

FORMULA

a(2n-1) = n, a(2n) = A007504(n). - Omar E. Pol, Oct 31 2011

MATHEMATICA

Module[{nn=30, sp}, sp=Accumulate[Prime[Range[nn]]]; Riffle[Range[nn], sp]] (* Harvey P. Dale, May 22 2018 *)

CROSSREFS

Cf. A000040, A160790, A160791, A160792.

Sequence in context: A163298 A133440 A331520 * A327754 A308096 A006800

Adjacent sequences:  A160790 A160791 A160792 * A160794 A160795 A160796

KEYWORD

easy,nonn

AUTHOR

Omar E. Pol, May 29 2009

EXTENSIONS

More terms from Sean A. Irvine, Oct 31 2011

New definition from Omar E. Pol, Oct 31 2011

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 31 16:29 EDT 2020. Contains 334748 sequences. (Running on oeis4.)