OFFSET
1,2
COMMENTS
The corresponding record values are 0, 1, 2, 3, 5, 6, 9, 12, 15, 20, 22, 23, 32, 35, 46, 52, 58, 68, 69, 71, 76, 95, 96, 106, 126, 137, 145, 149, 161, 164, 185, 191, 196, 218, 249, 266, 286, 290, 310, 318, 330, 375, 387, 428, 471, 510, 564, ...
It seems that most terms are least integers of a prime signature (A025487), but some are not: e.g., 3 and 2016.
EXAMPLE
The values of A341434(k) for k=1..8 are 0, 0, 1, 1, 1, 2, 2, 3. The record values, 0, 1, 2 and 3, occur at 1, 3, 6 and 8, the first 4 terms of this sequence.
MATHEMATICA
q[n_, b_] := (p = Times @@ IntegerDigits[n, b]) > 0 && Divisible[n, p]; a[n_] := Count[Range[2, n], _?(q[n, #] &)]; s = {}; am = -1; Do[a1 = a[n]; If[a1 > am, am = a1; AppendTo[s, n]], {n, 1, 10^3}]; s
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Feb 11 2021
STATUS
approved