A382200 Numbers that can be written as a product of distinct squarefree numbers.
1, 2, 3, 5, 6, 7, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 26, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 50, 51, 52, 53, 55, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 82, 83, 84
Offset: 1
Keywords
Examples
The prime indices of 1080 are {1,1,1,2,2,2,3}, and {{1},{2},{1,2},{1,2,3}} is a partition into a set of sets, so 1080 is in the sequence. We have 18000 = 2*5*6*10*30, so 18000 is in the sequence.
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Maple
N:= 1000: # to get all terms <= N A:= Vector(N): A[1]:= 1: for n from 2 to N do if numtheory:-issqrfree(n) then S:= [$1..N/n]; T:= n*S; A[T]:= A[T]+A[S] fi; od: remove(t -> A[t]=0, [$1..N]); # Robert Israel, Apr 21 2025
-
Mathematica
sqfacs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[sqfacs[n/d],Min@@#>d&]],{d,Select[Rest[Divisors[n]],SquareFreeQ]}]]; Select[Range[100],Length[sqfacs[#]]>0&]
Comments