Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A129694
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A129694 a(0)=0. a(n) = a(n-1) + sum of positive integers which are <= n and not part of the sequence. +0
1
0, 1, 3, 5, 11, 17, 29, 48, 75, 111, 157, 203, 261, 332, 417, 517, 633, 749, 883, 1036, 1209, 1403, 1619, 1858, 2121, 2409, 2723, 3064, 3433, 3802, 4201, 4631, 5093, 5588, 6117, 6681, 7281, 7918, 8593, 9307, 10061, 10856, 11693, 12573, 13497 (list; graph; listen)
OFFSET

0,3

EXAMPLE

The positive integers which are <= 7 and are missing from the terms a(0) through a(6) are 2,4,6,7. So a(7) = a(6) + 2+4+6+7 = 48.

MATHEMATICA

a = {0}; For[n = 1, n < 60, n++, co = 0; For[i = 0, i <n + 1, i++, If[Length[ Intersection[{i}, a]] == 0, co = co + i]]; AppendTo[a, a[[ -1]] + co]]; a - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jun 05 2007

CROSSREFS

Adjacent sequences: A129691 A129692 A129693 this_sequence A129695 A129696 A129697

Sequence in context: A078864 A023218 A073022 this_sequence A108402 A090795 A087732

KEYWORD

nonn

AUTHOR

Leroy Quet (qq-quet(AT)mindspring.com), Jun 01 2007

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jun 05 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 October 12 15:01 EDT 2008. Contains 144830 sequences.


AT&T Labs Research