OFFSET
1,1
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(10) = 22 is a term because 22 = 2 * 11 has maximum exponent 1, and one run in its base 10 representation.
MAPLE
filter:= proc(n) local L; L:= convert(n, base, 10); nops(L) - numboccur(0, L[2..-1]-L[1..-2]) = max(ifactors(n)[2][.., 2]) end proc:
select(filter, [$1..1000]);
MATHEMATICA
A379931Q[n_] := n > 1 && Max[FactorInteger[n][[All, 2]]] == Length[Split[IntegerDigits[n]]];
Select[Range[400], A379931Q] (* Paolo Xausa, Jan 08 2025 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert Israel, Jan 06 2025
STATUS
approved