login
The OEIS is supported by the many generous donors to the OEIS 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
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
Sequence in context: A163298 A133440 A331520 * A327754 A308096 A006800
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:41 EDT 2024. Contains 371906 sequences. (Running on oeis4.)