The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A363924 a(n) = number of k <= m such that rad(k) | m, where m = A005117(n) and rad(n) = A007947(n). 1
1, 2, 2, 2, 5, 2, 6, 2, 2, 6, 5, 2, 2, 5, 7, 2, 7, 2, 18, 2, 6, 8, 5, 2, 8, 6, 2, 19, 2, 8, 2, 6, 2, 5, 6, 8, 2, 2, 8, 5, 22, 2, 6, 20, 2, 2, 9, 5, 23, 2, 9, 2, 5, 9, 7, 2, 5, 7, 9, 5, 2, 2, 25, 2, 16, 9, 2, 2, 21, 7, 2, 26, 5, 9, 5, 9, 7, 2, 7, 23, 2, 5, 10, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Let S_m be the sequence { k : rad(k) | rad(m) }. This sequence gives the number of k <= rad(m), which is the same as k <= m, since m is squarefree. Seen another way, this sequence gives the position of m in S_m.
Number of k <= p^e, e >= 0, such that rad(k) | p is (e+1). This is given by {A025477} + 1.
Number of k <= m for numbers k neither squarefree nor prime powers (k in A126706) is given by A365790(n) = A010846(A126706(n)).
LINKS
FORMULA
a(n) = A010846(A005117(n)).
Let b(n) = A005117(n).
For prime b(n) = p, a(n) = 2 since terms k in S_p such that k <= p are {1, p}.
For composite b(n) = m, a(n) > 2, since p | m appear in S_p, and p < m.
EXAMPLE
Let b(n) = A005117(n).
a(1) = 1 since 1 is the only number k <= b(1) such that rad(k) | 1.
a(2) = 2 since k in {1, 2} are such that rad(k) | 2.
a(5) = 5 since b(5) = 6, k in {1, 2, 3, 4, 6} are such that rad(k) | 6. That is, 6 appears in the 5th position in S_6 = A003586.
a(7) = 6 since b(7) = 10, Card({ k : k <= 10, rad(k) | 10 }) = Card({1, 2, 4, 5, 8, 10}) = 6. That is, 10 appears in the 6th position in S_10 = A003592, etc.
MATHEMATICA
rad[x_] := Times @@ FactorInteger[x][[All, 1]]; Map[Function[{m, r}, Count[Range[m], _?(Divisible[r, rad[#] ] &)]] @@ {#, rad[#]} &, Select[Range[2^10], SquareFreeQ]]
CROSSREFS
Sequence in context: A368308 A080348 A355198 * A096396 A029662 A077913
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Oct 24 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 18:11 EDT 2024. Contains 372493 sequences. (Running on oeis4.)