Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072476
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072476 Difference between the sum of first n prime numbers and the sum of first n composite numbers. +0
1
-2, -5, -8, -10, -9, -8, -5, -1, 6, 17, 28, 44, 63, 82, 104, 131, 163, 196, 233, 272, 312, 357, 405, 458, 517, 579, 642, 707, 772, 840, 921, 1004, 1092, 1181, 1279, 1378, 1481, 1589, 1700, 1816, 1937, 2058, 2187, 2317, 2450, 2584, 2729, 2884, 3042, 3201, 3362, 3527, 3693, 3868, 4048 (list; graph; listen)
OFFSET

1,1

MATHEMATICA

Composite[n_Integer] := FixedPoint[n + PrimePi[ # ] + 1 &, n + PrimePi[n] + 1]; Table[ Sum[ Prime[i] - Composite[i], {i, 1, n}], {n, 1, 55}]

CROSSREFS

Cf. A071411.

Adjacent sequences: A072473 A072474 A072475 this_sequence A072477 A072478 A072479

Sequence in context: A088620 A068702 A083724 this_sequence A078345 A080228 A121294

KEYWORD

sign

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 20 2002

EXTENSIONS

Edited by Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 21 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 13 20:18 EDT 2008. Contains 145016 sequences.


AT&T Labs Research