OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(5) = 23 is a term because it has two runs, 2 and 3, and two divisors, 1 and 23.
MAPLE
filter:= proc(n) local L; L:= convert(n, base, 10); nops(L) - numboccur(0, L[2..-1]-L[1..-2]) = numtheory:-tau(n) end proc:
select(filter, [$1..1000]);
MATHEMATICA
A379930Q[n_] := DivisorSigma[0, n] == Length[Split[IntegerDigits[n]]];
Select[Range[1000], A379930Q] (* Paolo Xausa, Jan 08 2025 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert Israel, Jan 06 2025
STATUS
approved
