OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
Let b(n) = A120944(n).
a(1) = 3 since b(1) = 6, p = 2, and q = 3; 1 + Ceiling(log 3/log 2) = 3.
For s = 6, { k = m*s : rad(m) | s } = A003586 begins {1, 2, 3, 4, 6, ...};
there are 2 powers of 2 before q = 3 so c(6) = 2 = a(1) - 1.
a(2) = 4 since b(2) = 10, p = 2, and q = 5; 1 + Ceiling(log 5/log 2) = 4.
For s = 10, { k = m*s : rad(m) | s } = A003592 begins {1, 2, 4, 5, 8, 10, ...};
there are 3 powers of 2 before q = 5 so c(10) = 3 = a(2) - 1.
a(6) = 5 since b(6) = 22, p = 2, and q = 11; 1 + Ceiling(log 11/log 2) = 5.
For s = 22, { k = m*s : rad(m) | s } = A003596 begins {1, 2, 4, 8, 11, ...};
there are 4 powers of 2 before q = 11 so c(22) = 4 = a(6) - 1, etc
MATHEMATICA
Map[1 + Ceiling[Log[##]] & @@ FactorInteger[#][[1 ;; 2, 1]] &, Select[Range[300], And[CompositeQ[#], SquareFreeQ[#]] &]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Feb 18 2024
STATUS
approved