OFFSET
0,2
COMMENTS
There are no two consecutive numbers with an odd number of non-unitary divisors, since A048105(k) is odd only if k is a perfect square.
a(25) <= 1965640805422351777791, a(26) <= 3127059999. In general, a(n) <= A215199(n+1). - Daniel Suteu, May 20 2021
MATHEMATICA
nd[n_] := DivisorSigma[0, n] - 2^PrimeNu[n]; seq[max_] := Module[{s = Table[0, {max}], k = 2, c = 0, nd1 = 0}, While[c < max, If[(nd2 = nd[k]) == nd1 && nd2 < 2*max && s[[nd2/2 + 1]] == 0, c++; s[[nd2/2 + 1]] = k - 1]; nd1 = nd2; k++]; s]; seq[7]
PROG
(PARI)
A048105(n) = numdiv(n) - 2^omega(n);
a(n) = for(k=1, oo, if(isok(n, k), return(k))); \\ Daniel Suteu, May 16 2021
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, May 14 2021
EXTENSIONS
a(13)-a(24) confirmed by Martin Ehrenstein, May 20 2021
STATUS
approved