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!)
A073464 a(n) = phi(n) mod PrimePi(n). 3
0, 0, 0, 1, 2, 2, 0, 2, 0, 0, 4, 0, 0, 2, 2, 2, 6, 2, 0, 4, 2, 4, 8, 2, 3, 0, 3, 8, 8, 8, 5, 9, 5, 2, 1, 0, 6, 0, 4, 1, 12, 0, 6, 10, 8, 1, 1, 12, 5, 2, 9, 4, 2, 8, 8, 4, 12, 7, 16, 6, 12, 0, 14, 12, 2, 9, 13, 6, 5, 10, 4, 9, 15, 19, 15, 18, 3, 12, 10, 10, 18, 13, 1, 18, 19, 10, 17, 16, 0, 0, 20, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,5
LINKS
FORMULA
a(n) = A000010(n) mod A000720(n).
MATHEMATICA
a(n)=Table[Mod[EulerPhi[w], PrimePi[w]], {w, 2, 1000}]
PROG
(PARI) a(n) = eulerphi(n) % primepi(n); \\ Michel Marcus, Dec 11 2018
(Magma) [EulerPhi(n) mod #PrimesUpTo(n): n in [2..100]]; // Vincenzo Librandi, Dec 11 2018
CROSSREFS
Sequence in context: A103272 A065710 A089799 * A142242 A362634 A050314
KEYWORD
nonn
AUTHOR
Labos Elemer, Aug 02 2002
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)