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!)
A365738 a(n) = A365737(10^n). 3
1, 3, 12, 32, 92, 292, 995, 3029, 9651, 31817 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Paul Pollack, Carl Pomerance and Enrique Treviño, Sets of monotonicity for Euler's totient function, preprint. See M↓(n).
Paul Pollack, Carl Pomerance and Enrique Treviño, Sets of monotonicity for Euler's totient function, Ramanujan J. 30 (2013), no. 3, 379--398.
Terence Tao, Monotone non-decreasing sequences of the Euler totient function, arXiv:2309.02325 [math.NT], 2023.
PROG
(Python)
from bisect import bisect
from sympy import totient
def A365738(n):
k = 10**n
plist, qlist, c = tuple(-totient(i) for i in range(1, k+1)), [0]*(k+1), 0
for i in range(k):
qlist[a:=bisect(qlist, plist[i], lo=1, hi=c+1, key=lambda x:plist[x])]=i
c = max(c, a)
return c
CROSSREFS
Sequence in context: A098500 A037236 A309693 * A288605 A268768 A174963
KEYWORD
nonn,hard,more
AUTHOR
Chai Wah Wu, Sep 17 2023
EXTENSIONS
a(9) from Chai Wah Wu, Oct 13 2023
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 30 23:08 EDT 2024. Contains 372141 sequences. (Running on oeis4.)