1,2

Altug Alkan, Table of n, a(n) for n = 1..10000

Altug Alkan, Scatterplot of a(n)

(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])

Cf. A005185, A287292.

Sequence in context: A305398 A216522 A086419 * A025548 A121604 A071520

Adjacent sequences: A287351 A287352 A287353 * A287355 A287356 A287357

nonn

Altug Alkan, May 23 2017

approved