Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131807
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131807 Partial sums of A131377. +0
1
1, 2, 2, 3, 4, 4, 4, 5, 6, 7, 8, 8, 8, 9, 10, 11, 12, 12, 12, 13, 14, 15, 16, 16, 16, 16, 16, 16, 16, 17, 18, 18, 18, 18, 18, 18, 18, 19, 20, 21, 22, 22, 22, 23, 24, 25, 26, 26, 26, 26, 26, 26, 26, 27, 28, 29, 30, 31, 32, 32, 32, 33, 34, 35, 36, 37, 38, 38, 38, 38, 38, 39, 40, 40 (list; graph; listen)
OFFSET

0,2

MAPLE

P:=proc(n) local i, k, s; k:=1; s:=0; for i from 0 by 1 to n do if isprime(i) then if k=1 then k:=0; else k:=1; fi; fi; s:=s+k; print(s); od; end: P(100);

CROSSREFS

Cf. A131377.

Sequence in context: A078881 A066997 A006165 this_sequence A104351 A070172 A130128

Adjacent sequences: A131804 A131805 A131806 this_sequence A131808 A131809 A131810

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Jul 18 2007

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 December 3 01:16 EST 2008. Contains 151161 sequences.


AT&T Labs Research