OFFSET
1,2
COMMENTS
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
EXAMPLE
The prime signature of 300 is (2,1,2), which are not superdiagonal, so 300 is not in the sequence.
The prime signature of 750 is (1,1,3), which are not superdiagonal, so 750 is not in the sequence.
The prime signature of 4500 is (2,2,3), which are superdiagonal, so 4500 is in the sequence.
The terms together with their prime indices begin:
1: {}
2: {1}
3: {2}
4: {1,1}
5: {3}
7: {4}
8: {1,1,1}
9: {2,2}
11: {5}
13: {6}
16: {1,1,1,1}
17: {7}
18: {1,2,2}
19: {8}
23: {9}
25: {3,3}
27: {2,2,2}
29: {10}
31: {11}
32: {1,1,1,1,1}
36: {1,1,2,2}
37: {12}
MAPLE
q:= n-> (l-> is(min(l-[$1..nops(l)])>=0))(sort(ifactors(n)[2])[.., 2]):
select(q, [$1..200])[]; # Alois P. Heinz, Sep 23 2025
MATHEMATICA
suppQ[mset_]:=And@@Table[mset[[i]]>=i, {i, Length[mset]}];
Select[Range[100], suppQ[Last/@FactorInteger[#]]&]
PROG
(PARI) isok(k) = my(f=factor(k)[, 2]); for (i=1, #f~, if (f[i] < i, return(0))); return(1); \\ Michel Marcus, Sep 24 2025
(Python)
from sympy import factorint
def ok(n): return all(e >= i for i, (p, e) in enumerate(factorint(n).items(), 1))
print([k for k in range(1, 160) if ok(k)]) # Michael S. Branicky, Sep 30 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 22 2025
STATUS
approved
