OFFSET
1,1
COMMENTS
Excludes prime powers; subsequence of A024619.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
Michael De Vlieger, Hasse diagrams of row a(n) of A162306 for n = 1..12, showing numbers m in A126706 in blue, primes in red, perfect prime powers in gold, and squarefree composites in green.
FORMULA
EXAMPLE
18: {12, 18},
24: {12, 18, 24},
30: {12, 18, 20, 24},
36: {12, 18, 24, 36},
40: {20, 40},
42: {12, 18, 24, 28, 36},
48: {12, 18, 24, 36, 48},
50: {20, 40, 50},
54: {12, 18, 24, 36, 48, 54},
56: {28, 56},
60: {12, 18, 20, 24, 36, 40, 45, 48, 50, 54, 60},
66: {12, 18, 24, 36, 44, 48, 54}.
MATHEMATICA
Select[Range[2^8], Function[n, 1 < Count[Range[n], _?(And[Divisible[n, Times @@ FactorInteger[#][[All, 1]]], Nor[SquareFreeQ[#], PrimePowerQ[#]]] &)] ] ]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Oct 02 2024
STATUS
approved