The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A128610 a(0)=a(1)=1. For n >= 2, a(n) = a(n-2) + a(n-1) + (number of terms from among {a(0),a(1),a(2),...a(n-1)} which are <= n). 1
1, 1, 4, 7, 14, 24, 41, 69, 114, 187, 305, 496, 805, 1305, 2115, 3425, 5545, 8975, 14525, 23505, 38035, 61545, 99585, 161135, 260726, 421867, 682599, 1104472, 1787077, 2891555, 4678638, 7570199, 12248843, 19819048, 32067897, 51886951, 83954854 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
EXAMPLE
There are 4 terms among the terms {a(0),a(1),a(2),...a(8)} which are <= 9. So a(9) = a(7) + a(8) + 4 = 69 + 114 + 4 = 187.
MAPLE
a[0]:=1:a[1]:=1: for n from 2 to 42 do ct:=2: for j from 2 to n-1 do if a[j]<=n then ct:=ct+1 else fi od: a[n]:=a[n-1]+a[n-2]+ct od: seq(a[n], n=0..42); # Emeric Deutsch, May 09 2007
CROSSREFS
Sequence in context: A003404 A139025 A221107 * A305124 A094968 A049946
KEYWORD
nonn
AUTHOR
Leroy Quet, May 08 2007
EXTENSIONS
More terms from Emeric Deutsch, May 09 2007
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 11:18 EDT 2024. Contains 372683 sequences. (Running on oeis4.)