%I #61 Jan 14 2024 02:22:05
%S 1,2,2,3,3,4,4,4,5,5,6,6,6,6,7,7,8,8,8,8,9,9,9,10,10,10,10,11,11,12,
%T 12,12,12,12,12,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,17,17,18,
%U 18,18,18,18,18,19,19,20,20,20,20,20,20,21,21,21,21,22,22,22,22,23,23,24
%N List in which n appears d(n) times, where d(n) [A000005] is the number of divisors of n.
%C The union of N, 2N, 3N, ..., where N = {1, 2, 3, 4, 5, 6, ...}. In other words, the numbers {m*n, m >= 1, n >= 1} sorted into nondecreasing order.
%C Considering the maximal rectangle in each of the Ferrers graphs of partitions of n, a(n) is the smallest such maximal rectangle; a(n) is also an inverse of A006218. - _Henry Bottomley_, Mar 11 2002
%C The numbers in A003991 arranged in numerical order. - _Matthew Vandermast_, Feb 28 2003
%C Least k such that tau(1) + tau(2) + tau(3) + ... + tau(k) >= n. - _Michel Lagneau_, Jan 04 2012
%C The number 1 appears only once, primes appear twice, squares of primes appear thrice. All other positive integers appear at least four times. - _Alonso del Arte_, Nov 24 2013
%H N. J. A. Sloane, <a href="/A061017/b061017.txt">Table of n, a(n) for n = 1..7069</a>
%H Hayato Kobayashi, <a href="http://hayatokobayashi.com/paper/ACL2014_Kobayashi.pdf">Perplexity on Reduced Corpora</a>, in: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, Baltimore, Maryland, USA, June 23-25 2014, Association for Computational Linguistics, 2014, pp. 797-806.
%F a(n) >= pi(n+1) for all n; a(n) >= pi(n) + 1 for all n >= 24 (cf. A098357, A088526, A006218, A052511). - _N. J. A. Sloane_, Oct 22 2008
%F a(n) = A027750(n) * A056538(n). - _Charles Kusniec_, Jan 21 2021
%F Sum_{n>=1} (-1)^(n+1)/a(n) = Pi^2/12 (A072691). - _Amiram Eldar_, Jan 14 2024
%e Array begins:
%e 1
%e 2 2
%e 3 3
%e 4 4 4
%e 5 5
%e 6 6 6 6
%e 7 7
%e 8 8 8 8
%e 9 9 9
%e 10 10 10 10
%e 11 11
%e 12 12 12 12 12 12
%e 13 13
%e 14 14 14 14
%e 15 15 15 15
%e 16 16 16 16 16
%e 17 17
%e 18 18 18 18 18 18
%e 19 19
%e 20 20 20 20 20 20
%e 21 21 21 21
%e 22 22 22 22
%e 23 23
%e 24 24 24 24 24 24 24 24
%p with(numtheory); t1:=[]; for i from 1 to 1000 do for j from 1 to tau(i) do t1:=[op(t1),i]; od: od: t1:=sort(t1);
%t Flatten[Table[Table[n, {Length[Divisors[n]]}], {n, 30}]]
%o (PARI) a(n)=if(n<0,0,t=1;while(sum(k=1,t,floor(t/k))<n,t++);t) \\ _Benoit Cloitre_, Nov 08 2009
%Y Cf. A000005. An inverse to A006218.
%Y Cf. A027750, A056538, A072691.
%K nonn,easy
%O 1,2
%A Jont Allen (jba(AT)research.att.com), May 25 2001
%E More terms from _Erich Friedman_, Jun 01 2001