OFFSET
1,2
COMMENTS
Similar to A278055 but with different starting values.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
a:= proc(n) option remember; procname(n-procname(n-1))+procname(n-procname(n-2))+procname(n-procname(n-3)) end proc:
for n from 1 to 9 do a(n):= ceil(4*n/5) od:
map(a, [$1..100]); # Robert Israel, Jul 28 2024
PROG
(PARI) q=vector(100); for(n=1, 9, q[n]=ceil(4*n/5)); for(n=10, #q, q[n]=q[n-q[n-1]]+q[n-q[n-2]]+q[n-q[n-3]]); q
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Aug 02 2019
STATUS
approved