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!)
A373386 Smallest integer m > 1 such that m == m^m (mod 10^(len(m) + n)), where len(m) is the number of digits of m. 0
5, 51, 751, 10001, 100001, 1000001, 10000001, 100000001, 1000000001 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
By definition, this sequence is a subsequence of A082576.
It is not known if a(n) = 10^(n + 1) + 1 holds for all n >= 3.
LINKS
EXAMPLE
a(2) = 751 since m = 751 is the smallest integer satisfying m == m^m (mod 10^(len(m) + 2)), given the fact that 751 is a 3-digit number and 751^751 == 500751 (mod 10^6) and thus 751^751 == 751 (mod 10^(3 + 2)).
PROG
(PARI) a(n) = my(im); for (len_m = 1, oo, if (len_m==1, im=2, im=10^(len_m - 1)); for (m = im, 10^len_m - 1, if (m == Mod(m, 10^(len_m + n))^m, return(m)))); \\ Michel Marcus, Jun 03 2024
CROSSREFS
Sequence in context: A154886 A356586 A268138 * A145162 A339234 A187235
KEYWORD
nonn,base,more
AUTHOR
Marco Ripà, Jun 02 2024
EXTENSIONS
a(7)-a(8) from Michel Marcus, Jun 03 2024
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 August 8 15:25 EDT 2024. Contains 375022 sequences. (Running on oeis4.)