login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117634 a(0)=0. a(n) = a(n-1) + 1 + (number of positive integers which are <= n and are missing from {a(0),a(1),a(2),...a(n-1)}). 0

%I

%S 0,2,4,7,10,14,19,24,30,37,44,52,61,71,81,92,104,117,131,145,160,176,

%T 193,211,229,248,268,289,311,334,357,381,406,432,459,487,516,545,575,

%U 606,638,671,705,740,775,811,848,886,925,965,1006,1048,1090,1133,1177

%N a(0)=0. a(n) = a(n-1) + 1 + (number of positive integers which are <= n and are missing from {a(0),a(1),a(2),...a(n-1)}).

%e The sequence of positive integers not in this sequence begins 1, 3, 5, 6, 8,...

%e Because there are four such terms <= 7, then a(7) = a(6) + 1 + 4 = 24.

%K easy,nonn

%O 0,2

%A _Leroy Quet_, Apr 08 2006, definition corrected Apr 22 2006

%E More terms from Sheedeh Dorri (spd145(AT)psu.edu), Apr 17 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 15 08:37 EST 2019. Contains 329144 sequences. (Running on oeis4.)