The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A342118 Numbers k such that 1/(1/phi(k) + 1/phi(k+1) + 1/phi(k+2) + 1/phi(k+3) + 1/phi(k+4) + 1/phi(k+5)) is an integer. 0
31, 1310409, 298965241, 1939455002, 4578434282, 7077112564, 7973995681, 11430679681 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(PARI) isok(k) = numerator(1/eulerphi(k) + 1/eulerphi(k+1) + 1/eulerphi(k+2) + 1/eulerphi(k+3) + 1/eulerphi(k+4) + 1/eulerphi(k+5)) == 1;
(Python)
from fractions import Fraction
from sympy import totient
k, plist, A342118_list = 1, [Fraction(1, totient(i)) for i in range(1, 7)], []
p = sum(plist)
while k < 10**7:
if p.numerator == 1:
A342118_list.append(k)
k += 1
p -= plist[0]
plist = plist[1:] + [Fraction(1, totient(k+5))]
p += plist[-1] # Chai Wah Wu, Mar 01 2021
CROSSREFS
Sequence in context: A123523 A079595 A051155 * A216791 A324268 A145210
KEYWORD
nonn,hard,more
AUTHOR
Michel Marcus, Feb 28 2021
EXTENSIONS
a(3)-a(8) from Jinyuan Wang, Feb 28 2021
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 June 10 03:52 EDT 2024. Contains 373253 sequences. (Running on oeis4.)