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!)
A343371 a(n) = 1 + Sum_{d|n, d < n} a(d - 1). 4
1, 1, 2, 2, 3, 2, 5, 2, 5, 4, 6, 2, 9, 2, 8, 7, 7, 2, 12, 2, 12, 9, 9, 2, 13, 5, 12, 9, 12, 2, 22, 2, 14, 10, 10, 10, 18, 2, 15, 13, 16, 2, 26, 2, 20, 20, 12, 2, 22, 7, 23, 11, 19, 2, 26, 11, 23, 16, 15, 2, 30, 2, 25, 26, 16, 14, 36, 2, 22, 13, 27, 2, 32, 2, 21, 28 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
G.f. A(x) satisfies: A(x) = 1 / (1 - x) + x^2 * A(x^2) + x^3 * A(x^3) + x^4 * A(x^4) + ...
MAPLE
a:= proc(n) option remember;
1+add(a(d-1), d=numtheory[divisors](n) minus {n})
end:
seq(a(n), n=0..75); # Alois P. Heinz, Apr 12 2021
MATHEMATICA
a[n_] := a[n] = 1 + Sum[If[d < n, a[d - 1], 0], {d, Divisors[n]}]; Table[a[n], {n, 0, 75}]
nmax = 75; A[_] = 0; Do[A[x_] = 1/(1 - x) + Sum[x^k A[x^k], {k, 2, nmax}] + O[x]^(nmax + 1) //Normal, nmax + 1]; CoefficientList[A[x], x]
CROSSREFS
Sequence in context: A322900 A238791 A007012 * A298423 A319810 A325250
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 12 2021
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 25 07:53 EDT 2024. Contains 371964 sequences. (Running on oeis4.)