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!)
A287354 a(n) = n for 1 <= n <= 5; a(n) = a(n-a(n-1)+1) + a(n-a(n-2)+2) for n > 5. 1
1, 2, 3, 4, 5, 6, 6, 7, 8, 8, 9, 10, 10, 11, 11, 12, 13, 13, 13, 15, 14, 16, 16, 16, 17, 18, 18, 19, 19, 20, 21, 21, 21, 22, 23, 23, 23, 25, 24, 26, 25, 26, 28, 28, 26, 29, 29, 29, 30, 30, 32, 30, 32, 34, 33, 32, 36, 35, 34, 36, 37, 37, 37, 38, 39, 39, 39, 41, 40, 42, 41, 42 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Altug Alkan, Scatterplot of a(n)
PROG
(PARI) q=vector(1000); q[1]=1; q[2]=2; q[3]=3; q[4]=4; q[5]=5; for(n=6, #q, q[n]=q[n-q[n-1]+1]+q[n-q[n-2]+2]); vector(1000, n, q[n])
CROSSREFS
Sequence in context: A305398 A216522 A086419 * A025548 A121604 A071520
KEYWORD
nonn
AUTHOR
Altug Alkan, May 23 2017
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)