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!)
A368198 a(n) gives the number of ways to go from n to 1 with steps consisting of replacing a positive number without leading zero, say m, appearing in the decimal expansion of a number, by a proper divisor of m. 2
1, 1, 1, 2, 1, 3, 1, 4, 2, 3, 1, 9, 2, 13, 4, 20, 2, 31, 4, 8, 4, 16, 7, 54, 10, 51, 10, 123, 16, 14, 2, 39, 7, 58, 9, 118, 5, 136, 17, 20, 6, 55, 16, 149, 25, 157, 19, 459, 44, 16, 5, 71, 8, 138, 12, 249, 13, 263, 18, 47, 8, 76, 33, 276, 35, 336, 26, 714, 87 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
Rémy Sigrist, PARI program
FORMULA
a(1) = 1.
a(n) = Sum_{k = A368195(n)-1} a(A368194(k)) for any n > 1.
EXAMPLE
a(12) = 9 for we have nine ways to go from 12 to 1:
12 -> 1,
12 -> 2 -> 1,
12 -> 3 -> 1,
12 -> 4 -> 1,
12 -> 4 -> 2 -> 1,
12 -> 6 -> 1,
12 -> 6 -> 2 -> 1,
12 -> 6 -> 3 -> 1,
12 -> 11 -> 1.
PROG
(PARI) See Links section.
CROSSREFS
Cf. A368194, A368195, A368315 (binary variant).
Sequence in context: A002033 A074206 A173801 * A108466 A211110 A325828
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Dec 16 2023
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 June 8 08:55 EDT 2024. Contains 373207 sequences. (Running on oeis4.)