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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A053758 a(n)=a(a(n-5))+a(n-a(n-5)) if n>2 otherwise a(n)=1. 0
1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 6, 7, 8, 9, 10, 11, 12, 12, 13, 14, 15, 16, 16, 17, 18, 18, 19, 20, 21, 22, 23, 24, 24, 25, 26, 26, 27, 28, 29, 30, 31, 32, 33, 34, 34, 35, 36, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 48, 49, 49, 50, 51, 52 (list; graph; refs; listen; history; internal format)
OFFSET

-2,6

MATHEMATICA

a := proc(n) option remember; if n<=2 then 1 else a(a(n-5))+a(n-a(n-5)); fi; end;

CROSSREFS

Cf. A004001, A005229.

Sequence in context: A099848 A082287 A006164 * A145569 A172475 A171970

Adjacent sequences:  A053755 A053756 A053757 * A053759 A053760 A053761

KEYWORD

easy,nonn

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Apr 05 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 03:45 EST 2012. Contains 205978 sequences.