Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082934
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082934 A082928(1) + A082928(2) + ... + A082928(n). +0
1
1, 4, 8, 10, 16, 19, 27, 31, 40, 45, 57, 63, 77, 84, 99, 107, 125, 134, 154, 164, 185, 196, 220, 232, 257, 270, 297, 311, 341, 356, 388, 404, 437, 454, 489, 507, 545, 564, 603, 623, 665, 686, 730, 752, 797, 820, 868, 892, 941, 966, 1017, 1043, 1097, 1124, 1179 (list; graph; listen)
OFFSET

1,2

FORMULA

seq = if n even then n/2 else n. seq = if n is prime then n+1. Sumseq = Sumseq + seq for n=1, 2, ...

PROGRAM

(PARI) a(n)={sum(k=1, n, if(isprime(k), k+1, if(k%2, k, k/2)))};

CROSSREFS

Sequence in context: A028873 A153975 A020169 this_sequence A144570 A036311 A020209

Adjacent sequences: A082931 A082932 A082933 this_sequence A082935 A082936 A082937

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 26 2003

EXTENSIONS

Edited by Charles R Greathouse IV (charles.greathouse(AT)case.edu), Oct 09 2009

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research