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!)
A039778 phi(n) is equal to the sum of prime factors and exponents of n+1. 0
32, 38, 54, 56, 84, 20720 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(7) > 10^8. - Naohiro Nomoto, Jun 21 20a
a(7) > 10^9. - Michel Marcus, Jun 03 2014
a(7) > 10^12. - Giovanni Resta, Jun 11 2016
LINKS
EXAMPLE
phi(38)=18, 39=3^1*13^1, 3+1+13+1=18.
MATHEMATICA
Select[Range[30000], EulerPhi[#] == Plus @@ Flatten@ FactorInteger[# + 1] &] (* Giovanni Resta, Jun 11 2016 *)
PROG
(PARI) isok(n) = (f = factor(n+1)) && (sum(i=1, #f~, f[i, 2]) + sum(i=1, #f~, f[i, 1]) == eulerphi(n)); \\ Michel Marcus, Jun 03 2014
CROSSREFS
Sequence in context: A070624 A345491 A178099 * A354422 A217060 A326112
KEYWORD
nonn,more
AUTHOR
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 16 11:08 EDT 2024. Contains 371711 sequences. (Running on oeis4.)