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!)
A338128 a(n) is the least k > 1 such that the base n representation of k^k ends with that of k. 3
3, 4, 3, 6, 3, 4, 3, 4, 5, 12, 3, 5, 4, 5, 5, 9, 4, 7, 5, 4, 11, 12, 3, 6, 5, 10, 4, 17, 5, 16, 9, 11, 9, 13, 4, 10, 7, 5, 5, 9, 4, 7, 11, 9, 12, 24, 5, 8, 6, 9, 5, 54, 10, 11, 7, 7, 17, 60, 5, 13, 16, 4, 9, 5, 11, 37, 9, 12, 13, 36, 7, 37, 10, 6, 7, 16, 5, 27 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
FORMULA
a(n) <= n+1 with equality iff n belongs to A065296.
EXAMPLE
a(10) = A082576(2) = 5.
PROG
(PARI) a(n) = for (k=2, oo, if (Mod(k, n^#digits(k, n))^k==k, return (k)))
CROSSREFS
Sequence in context: A332880 A281626 A327650 * A242801 A021295 A061112
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Oct 11 2020
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 06:10 EDT 2024. Contains 372127 sequences. (Running on oeis4.)