[go: up one dir, main page]

login
A349305
a(n) is the start of the least run of exactly n consecutive numbers with the same number of nonunitary divisors.
0
4, 10, 1, 19940, 54584, 204323, 2789143044, 27092041443
OFFSET
1,1
COMMENTS
a(9) > 10^11, if it exists.
EXAMPLE
a(2) = 10 since A048105(10) = A048105(11) = 0, and A048105(9) != 0 and A048105(12) != 0.
MATHEMATICA
d[n_] := DivisorSigma[0, n] - 2^PrimeNu[n]; seq[len_, nmax_] := Module[{s = Table[0, {len}], dprev = -1, n = 1, c = 0, k = 0}, While[k < len && n < nmax, d1 = d[n]; If[d1 == dprev, c++, If[c > 0 && c <= len && s[[c]] == 0, k++; s[[c]] = n - c]; c = 1]; n++; dprev = d1]; TakeWhile[s, # > 0 &]]; seq[6, 10^6]
CROSSREFS
Similar sequences: A006558, A045983, A048932, A067813, A077657, A318166.
Sequence in context: A087212 A048870 A337840 * A244152 A070261 A367029
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Nov 14 2021
STATUS
approved