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!)
A113886 Finite recursive sequence with a(n) = a(a(n-2)) + a(n-a(n-1)). 3
1, 1, 2, 2, 4, 3, 6, 3, 9, 3, 6, 5, 9, 7, 6, 6, 12, 9, 12, 6, 15, 12, 12, 14, 15, 12, 12, 15, 16, 13, 21, 13, 18, 13, 24, 12, 30, 12, 33, 15, 25, 18, 27, 24, 30, 21, 33, 18, 34, 18, 42, 15, 39, 12, 42, 16, 52, 15, 63 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = a(a(n-2)) + a(n-a(n-1)), a(0) = a(1) = 1.
MATHEMATICA
a[n_] := a[n] = a[a[n - 2]] + a[n - a[n - 1]] a[0] = a[1] = 1; Table[a[n], {n, 0, 58}]
CROSSREFS
Sequence in context: A352622 A089265 A113885 * A334952 A220096 A122376
KEYWORD
easy,fini,full,nonn
AUTHOR
Josh Locker (joshlocker(AT)gmail.com), Jan 28 2006
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 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)