login
A179942
Number of times n appears in a 1000 X 1000 multiplication table.
3
1, 2, 2, 3, 2, 4, 2, 4, 3, 4, 2, 6, 2, 4, 4, 5, 2, 6, 2, 6, 4, 4, 2, 8, 3, 4, 4, 6, 2, 8, 2, 6, 4, 4, 4, 9, 2, 4, 4, 8, 2, 8, 2, 6, 6, 4, 2, 10, 3, 6, 4, 6, 2, 8, 4, 8, 4, 4, 2, 12, 2, 4, 6, 7, 4, 8, 2, 6, 4, 8, 2, 12, 2, 4, 6, 6, 4, 8, 2, 10, 5, 4, 2, 12, 4, 4, 4, 8, 2, 12, 4, 6, 4, 4, 4, 12, 2, 6, 6, 9
OFFSET
1,2
COMMENTS
Identical to A000005(n), the number of divisors of n, for n <= 1000.
As the size of the multiplication table grows, sequences of this kind approach A000005: the number of divisors of n. Any term becomes stable once the size equals or exceeds n. - Robert G. Wilson v, Aug 03 2010
FORMULA
a(n) = 0 for n > 10^6.
EXAMPLE
a(2)=2 because the number 2 appears in 2 cells in a 1000 X 1000 multiplication table.
MATHEMATICA
nn = 1000; mtab = Flatten[Table[i*j, {i, nn}, {j, nn}]]; Table[Count[mtab, n], {n, 10000}]
PROG
(PARI) a(n)=sumdiv(n, d, d<1001 && n/d<1001) \\ Charles R Greathouse IV, Dec 27 2016
CROSSREFS
Sequence in context: A184395 A329484 A179941 * A000005 A122667 A122668
KEYWORD
nonn,fini,less
AUTHOR
Dominick Cancilla, Aug 02 2010
EXTENSIONS
Observations rephrased as facts by R. J. Mathar, Aug 03 2010
STATUS
approved