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!)
A145190 Numbers k such that phi(1)*phi(2)*...*phi(k) / k is an integer, where phi(k) is the totient function (A000010). 1
1, 4, 8, 9, 12, 15, 16, 18, 20, 24, 25, 27, 30, 32, 33, 35, 36, 40, 42, 44, 45, 48, 49, 50, 54, 55, 56, 60, 63, 64, 65, 66, 69, 70, 72, 75, 77, 78, 80, 81, 84, 87, 88, 90, 91, 92, 96, 98, 99, 100, 104, 105, 108, 110, 112, 115, 116, 117, 119, 120, 121, 123 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[200], IntegerQ[Product[EulerPhi[i], {i, 1, #}]/#] &] (* Carl Najafi, Aug 19 2011 *)
nn=150; With[{ep=Rest[FoldList[Times, 1, EulerPhi[Range[nn]]]]}, Flatten[ Position[Table[ep[[i]]/i, {i, nn}], _?IntegerQ]]] (* Harvey P. Dale, May 12 2012 *) (* this program is more than 200 times faster than the first Mathematica program above *)
PROG
(PARI) isok(n)=prod(k=1, n, eulerphi(k))%n==0 \\ Anders Hellström, Aug 22 2015
CROSSREFS
Sequence in context: A291791 A037973 A044844 * A327907 A177713 A235992
KEYWORD
easy,nonn
AUTHOR
Ctibor O. Zizka, Oct 03 2008
EXTENSIONS
More terms from Carl Najafi, Aug 19 2011
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 23 18:56 EDT 2024. Contains 374553 sequences. (Running on oeis4.)