cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

This page as a plain text file.
%I A368198 #15 Dec 22 2023 11:39:43
%S A368198 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,
%T A368198 14,2,39,7,58,9,118,5,136,17,20,6,55,16,149,25,157,19,459,44,16,5,71,
%U A368198 8,138,12,249,13,263,18,47,8,76,33,276,35,336,26,714,87
%N 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.
%H A368198 Rémy Sigrist, <a href="/A368198/b368198.txt">Table of n, a(n) for n = 1..10000</a>
%H A368198 Rémy Sigrist, <a href="/A368198/a368198.gp.txt">PARI program</a>
%H A368198 <a href="/index/De#decimal_expansion">Index entries for sequences related to decimal expansion of n</a>
%F A368198 a(1) = 1.
%F A368198 a(n) = Sum_{k = A368195(n)-1} a(A368194(k)) for any n > 1.
%e A368198 a(12) = 9 for we have nine ways to go from 12 to 1:
%e A368198     12 -> 1,
%e A368198     12 -> 2 -> 1,
%e A368198     12 -> 3 -> 1,
%e A368198     12 -> 4 -> 1,
%e A368198     12 -> 4 -> 2 -> 1,
%e A368198     12 -> 6 -> 1,
%e A368198     12 -> 6 -> 2 -> 1,
%e A368198     12 -> 6 -> 3 -> 1,
%e A368198     12 -> 11 -> 1.
%o A368198 (PARI) See Links section.
%Y A368198 Cf. A368194, A368195, A368315 (binary variant).
%K A368198 nonn,base
%O A368198 1,4
%A A368198 _Rémy Sigrist_, Dec 16 2023