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!)
A275245 Numbers n such that phi(n) divides n^2 while phi(n) does not divide n. 0
10, 20, 40, 42, 50, 60, 80, 84, 100, 114, 120, 126, 136, 156, 160, 168, 180, 200, 220, 228, 240, 250, 252, 272, 294, 300, 312, 320, 336, 342, 360, 378, 400, 440, 444, 456, 468, 480, 500, 504, 540, 544, 588, 600, 624, 640, 672, 684, 720, 756, 800, 816 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
10 is a term because phi(10) = 4; 10 mod 4 = 2 and 10^2 mod 4 = 0.
MATHEMATICA
Select[Range[10^3], Function[k, And[Divisible[#^2, k], ! Divisible[#, k]]]@ EulerPhi@ # &] (* Michael De Vlieger, Jul 21 2016 *)
PROG
(PARI) isok(n) = (n % eulerphi(n) != 0) && (n^2 % eulerphi(n) == 0)
CROSSREFS
Sequence in context: A266087 A047881 A172172 * A020953 A033846 A114931
KEYWORD
nonn
AUTHOR
Altug Alkan, Jul 21 2016
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 April 19 16:08 EDT 2024. Contains 371794 sequences. (Running on oeis4.)