A238690 Let each integer m (1 <= m <= n) be factorized as m = prime_m(1)*prime_m(2)*...*prime_m(bigomega(m)), with the primes sorted in nonincreasing order. Then a(n) is the number of values of m such that each prime_m(i) <= prime_n(i).
1, 2, 3, 3, 4, 5, 5, 4, 6, 7, 6, 7, 7, 9, 9, 5, 8, 9, 9, 10, 12, 11, 10, 9, 10, 13, 10, 13, 11, 14, 12, 6, 15, 15, 14, 12, 13, 17, 18, 13, 14, 19, 15, 16, 16, 19, 16, 11, 15, 16, 21, 19, 17, 14, 18, 17, 24, 21, 18, 19, 19, 23, 22, 7, 22, 24, 20, 22, 27, 23, 21
Offset: 1
Keywords
Examples
The prime factorizations of integers 1 through 9, with prime factors sorted from largest to smallest: 1 - the empty factorization (no prime factors) 2 = 2 3 = 3 4 = 2*2 5 = 5 6 = 3*2 7 = 7 8 = 2*2*2 9 = 3*3 To find a(9), we consider 9 = 3*3. There are 6 positive integers (1, 2, 3, 4, 6 and 9) which satisfy the following criteria: 1) The largest prime factor, if one exists, is not greater than 3; 2) The second-largest prime factor, if one exists, is not greater than 3; 3) The total number of prime factors (counting repeated factors) does not exceed 2. Therefore, a(9) = 6. From _Gus Wiseman_, Feb 24 2018: (Start) Heinz numbers of the a(15) = 9 partitions contained within the partition (32) are 1, 2, 3, 4, 5, 6, 9, 10, 15. The a(15) = 9 skew partitions are (32)/(), (32)/(1), (32)/(11), (32)/(2), (32)/(21), (32)/(22), (32)/(3), (32)/(31), (32)/(32). Corresponding diagrams are: o o o . o o . o o . . o . . o . . o . . . . . . . . . o o o o . o o o . o . . o o . o . . (End)
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Mathematica
undptns[y_]:=Select[Tuples[Range[0,#]&/@y],OrderedQ[#,GreaterEqual]&]; primeMS[n_]:=If[n===1,{},Flatten[Cases[FactorInteger[n],{p_,k_}:>Table[PrimePi[p],{k}]]]]; Table[Length[undptns[Reverse[primeMS[n]]]],{n,100}] (* Gus Wiseman, Feb 24 2018 *)
Comments