OFFSET
1,1
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..10000
EXAMPLE
The sequence of partitions whose Heinz numbers belong to the sequence begins: (3,2), (3,2,1), (5,2), (4,3), (3,2,2), (7,2), (5,3), (3,2,1,1), (5,2,1), (9,2), (4,3,1), (3,3,2), (5,4), (7,3), (3,2,2,1), (6,4), (11,2), (8,3), (5,2,2).
MATHEMATICA
Select[Range[100], !Or[#==1, PrimePowerQ[#], Divisible@@Reverse[PrimePi/@FactorInteger[#][[All, 1]]]]&]
PROG
(PARI) ok(n)={my(v=apply(primepi, factor(n)[, 1])); for(i=2, #v, if(v[i]%v[i-1], return(1))); 0} \\ Andrew Howroyd, Oct 26 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 06 2018
STATUS
approved