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!)
A227386 a(n) = n - 1 - a(a(n-1)) - a(a(a(n-2))) - a(a(a(a(n-3)))) - a(a(a(a(a(n-4))))) - ... with a(0) = 0. 0
0, 0, 1, 2, 2, 3, 3, 3, 4, 5, 5, 5, 5, 6, 7, 8, 8, 9, 9, 9, 9, 9, 10, 11, 12, 13, 13, 14, 14, 15, 15, 15, 16, 17, 17, 17, 17, 17, 17, 18, 19, 20, 21, 22, 22, 23, 23, 24, 24, 25, 25, 25, 26, 27, 27, 27, 28, 29, 29, 29, 29, 30, 31, 32, 32, 33, 33, 33, 33, 33 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
MATHEMATICA
a[n_] := a[n] = Which[n ==0, 0, True, n - 1 - Sum[Nest[a, n - i, i + 1], {i, 1, n}]]; Table[a[n], {n, 0, 100}]
CROSSREFS
Cf. A227145.
Sequence in context: A153112 A005350 A055037 * A351833 A354967 A125186
KEYWORD
nonn
AUTHOR
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 April 25 06:14 EDT 2024. Contains 371964 sequences. (Running on oeis4.)