Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120326
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120326 Cumulative sum of the remainders when dividing primes by 3. +0
1
2, 2, 4, 5, 7, 8, 10, 11, 13, 15, 16, 17, 19, 20, 22, 24, 26, 27, 28, 30, 31, 32, 34, 36, 37, 39, 40, 42, 43, 45, 46, 48, 50, 51, 53, 54, 55, 56, 58, 60, 62, 63, 65, 66, 68, 69, 70, 71, 73, 74, 76, 78, 79, 81, 83, 85, 87, 88, 89, 91, 92, 94, 95, 97, 98, 100, 101, 102, 104, 105 (list; graph; listen)
OFFSET

1,1

FORMULA

cumsum(mod([2, 3, 5, ...],3))

MATHEMATICA

s=0; lst={}; Do[p=Prime[n]; m=Mod[p, 3]; a=(p-m)/3; AppendTo[lst, s+=m], {n, 3*4!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), May 24 2009]

CROSSREFS

Sequence in context: A107849 A053036 A067957 this_sequence A036406 A029007 A058678

Adjacent sequences: A120323 A120324 A120325 this_sequence A120327 A120328 A120329

KEYWORD

nonn

AUTHOR

Joost de Winter (J.C.F.deWinter(AT)tudelft.nl), Aug 27 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 7 23:50 EST 2009. Contains 170430 sequences.


AT&T Labs Research