OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
MAPLE
a[1]:=1: for n from 2 to 40 do a[n]:=sum(ceil(a[n-k]/k), k=1..n-1) od:seq(a[n], n=1..40);
MATHEMATICA
a[n_]:= a[n]= If[n==1, 1, Sum[Ceiling[a[n-k]/k], {k, n-1}]];
Table[a[n], {n, 50}] (* G. C. Greubel, Apr 05 2023 *)
PROG
(SageMath)
@CachedFunction
def a(n): # a = A100482
if (n==1): return 1
else: return sum( ((a(n-k)+k-1)//k) for k in range(1, n) )
[a(n) for n in range(1, 51)] # G. C. Greubel, Apr 05 2023
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Nov 22 2004
EXTENSIONS
More terms from Emeric Deutsch, Dec 09 2004
STATUS
approved