Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A114186
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A114186 Running sums of consecutive integers with all primes set to 2. +0
1
0, 1, 3, 5, 9, 11, 17, 19, 27, 36, 46, 48, 60, 62, 76, 91, 107, 109, 127, 129, 149, 170, 192, 194, 218, 243, 269, 296, 324, 326, 356, 358, 390, 423, 457, 492, 528, 530, 568, 607, 647, 649, 691, 693, 737, 782, 828, 830, 878, 927, 977, 1028, 1080, 1082, 1136, 1191 (list; graph; listen)
OFFSET

0,3

COMMENT

a(n) is the running sum of the set integers where all primes are even.

EXAMPLE

n Sum Action Reason

-- ---- ------- --------------

0 0 add 0 0 is not prime

1 1 add 1 1 is not prime

2 3 add 2 2 is prime

3 5 add 2 3 is prime

4 9 add 4 4 is not prime

MAPLE

g(n, m) = s=0; for(x=0, n, if(isprime(x), s+=m, s+=x); print1(s", "))

CROSSREFS

Sequence in context: A118113 A076193 A056533 this_sequence A117992 A015614 A138203

Adjacent sequences: A114183 A114184 A114185 this_sequence A114187 A114188 A114189

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Feb 04 2006

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 16 17:18 EST 2009. Contains 170825 sequences.


AT&T Labs Research