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!)
A123623 Smallest k>1 such that mu(n*k) = mu(n), where mu=A008683. 3
6, 15, 10, 2, 6, 35, 6, 2, 2, 21, 6, 2, 6, 15, 14, 2, 6, 2, 6, 2, 10, 15, 6, 2, 2, 15, 2, 2, 6, 77, 6, 2, 10, 15, 6, 2, 6, 15, 10, 2, 6, 55, 6, 2, 2, 15, 6, 2, 2, 2, 10, 2, 6, 2, 6, 2, 10, 15, 6, 2, 6, 15, 2, 2, 6, 35, 6, 2, 10, 33, 6, 2, 6, 15, 2, 2, 6, 35, 6, 2, 2, 15, 6, 2, 6, 15, 10, 2, 6, 2, 6, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) = A123624(n) / n.
From Robert Israel, Apr 02 2017: (Start)
If n is squarefree, a(n) is the product of the least two primes coprime to n.
Otherwise a(n) = 2. (End)
LINKS
MAPLE
a:= proc(n) local r, p, count;
if not numtheory:-issqrfree(n) then return 2 fi;
r:= 1; count:= 0; p:= 1;
do
p:= nextprime(p);
if n mod p > 0 then
count:= count+1;
r:= r*p;
if count = 2 then return r fi
fi
od
end proc:
map(a, [$1..1000]); # Robert Israel, Apr 02 2017
MATHEMATICA
a[n_] := Module[{r = 1, p = 1, count = 0}, If[!SquareFreeQ[n], Return[2]]; While[True, p = NextPrime[p]; If[Mod[n, p] > 0, count++; r = r*p; If[count == 2, Return[r]]]]]; Array[a, 100] (* Jean-François Alcover, Feb 13 2018, after Robert Israel *)
CROSSREFS
Cf. A093316.
Sequence in context: A351369 A070870 A202749 * A240990 A215739 A161397
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Oct 03 2006
EXTENSIONS
Name corrected by Robert Israel, Apr 02 2017
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 July 16 05:19 EDT 2024. Contains 374343 sequences. (Running on oeis4.)