login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A340159
a(n) is the smallest number m such that numbers m, m + 1, m + 2, ..., m + n - 1 have k, 2*k, 3*k, ..., n*k divisors respectively.
5
1, 1, 61, 421, 211082, 11238341, 16788951482, 41126483642
OFFSET
1,3
COMMENTS
a(n) is the smallest number m such that tau(m) = tau(m + 1)/2 = tau(m + 2)/3 = tau(m + 3)/4 = ... = tau(m + n - 1)/n, where tau(k) = the number of divisors of k (A000005).
Corresponding values of tau(a(n)): 1, 1, 2, 2, 4, 4, 4, ...
a(8) <= 41126483642. - David A. Corneth, Dec 31 2020
Any subsequent terms are > 10^11. - Lucas A. Brown, Mar 18 2024
EXAMPLE
a(3) = 61 because 61, 62 and 63 have 2, 4, and 6 divisors respectively and there is no smaller number having this property.
PROG
(PARI) isok(m, n) = {my(k=numdiv(m)); for (i=1, n-1, if (numdiv(m+i) != (i+1)*k, return (0)); ); return(1); }
a(n) = my(m=1); while(!isok(m, n), m++); m; \\ Michel Marcus, Dec 30 2020
(Python) # see LINKS
CROSSREFS
Cf. A294528 for similar sequence with primes.
Sequence in context: A305019 A316683 A264845 * A142034 A338102 A167445
KEYWORD
nonn,more,hard
AUTHOR
Jaroslav Krizek, Dec 29 2020
EXTENSIONS
a(7) from Jinyuan Wang, Dec 31 2020
a(8) from Lucas A. Brown, Mar 18 2024
STATUS
approved