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!)
A356474 a(n) = phi(rad(prime(n)-1)), where phi = A000010 and rad = A007947. 1
1, 1, 1, 2, 4, 2, 1, 2, 10, 6, 8, 2, 4, 12, 22, 12, 28, 8, 20, 24, 2, 24, 40, 10, 2, 4, 32, 52, 2, 6, 12, 48, 16, 44, 36, 8, 24, 2, 82, 42, 88, 8, 72, 2, 6, 20, 48, 72, 112, 36, 28, 96, 8, 4, 1, 130, 66, 8, 44, 24, 92, 72, 32, 120, 24, 78, 80, 12, 172, 56, 10, 178, 120, 60 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = Product_{primes p dividing prime(n)-1} (p-1).
a(n) = phi(A077063(n)) = A173557(prime(n)-1).
EXAMPLE
prime(8) = 19, so a(8) = phi(rad(18)) = phi(6) = 2.
MATHEMATICA
Array[EulerPhi[Times @@ FactorInteger[Prime[#] - 1][[All, 1]]] &, 74] (* Michael De Vlieger, Aug 09 2022 *)
PROG
(PARI) a(n) = my(f=factor(prime(n)-1)[, 1]); prod(k=1, #f, f[k]-1) \\ following Michel Marcus's program for A173557
CROSSREFS
Sequence in context: A160801 A177002 A079046 * A079045 A021417 A368517
KEYWORD
nonn,easy
AUTHOR
Jianing Song, Aug 09 2022
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 20 07:43 EDT 2024. Contains 371799 sequences. (Running on oeis4.)