OFFSET
0,3
MATHEMATICA
RecurrenceTable[{a[0]==0, a[1]==1, a[n]==2*a[n-1]+Floor[a[n-2]/n]}, a, {n, 40}] (* Harvey P. Dale, Mar 13 2016 *)
PROG
(Python)
prpr = 0
prev = 1
for n in range(2, 99):
. current = prev*2 + prpr//n
. print prpr,
. prpr = prev
. prev = current
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Apr 29 2012
STATUS
approved