The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A346117 a(1) = a(2) = 1; a(n+2) = 1 + Sum_{d|n} a(d). 1
1, 1, 2, 3, 4, 6, 6, 11, 8, 17, 12, 24, 14, 38, 16, 47, 24, 64, 26, 83, 28, 110, 38, 125, 40, 174, 46, 191, 58, 241, 60, 289, 62, 353, 78, 380, 90, 490, 92, 519, 110, 640, 112, 723, 114, 851, 146, 892, 148, 1113, 156, 1177, 184, 1371, 186, 1500, 204, 1752, 234, 1813 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
G.f. A(x) satisfies: A(x) = x + x^2 * (1 / (1 - x) + A(x) + A(x^2) + A(x^3) + ...).
MAPLE
f:= proc(n) option remember; local d; 1 + add(procname(d), d = numtheory:-divisors(n-2)) end proc:
f(1):= 1: f(2):= 1:
map(f, [$1..60]); # Robert Israel, Dec 02 2022
MATHEMATICA
a[1] = a[2] = 1; a[n_] := a[n] = 1 + Sum[a[d], {d, Divisors[n - 2]}]; Table[a[n], {n, 1, 60}]
nmax = 60; A[_] = 0; Do[A[x_] = x + x^2 (1/(1 - x) + Sum[A[x^k], {k, 1, nmax}]) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x] // Rest
CROSSREFS
Sequence in context: A332295 A332576 A028335 * A007464 A210733 A265564
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 05 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 May 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)