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!)
A317725 a(n) is the smallest k > 1 whose sum of digits is the same in all the bases from 2 to n. 3
2, 6, 21, 23162843828305 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
No other terms below 4^60 ~= 1.3*10^36. The sequence is likely finite and complete. - Max Alekseyev, Aug 29 2023
LINKS
EXAMPLE
a(3) = A037301(3).
a(4) = A135122(2).
a(5) = A317777(2) = 23162843828305 in base 2, 3, 4, and 5 is equal to: 101010001000100000101000101000001000001010001, 10001000100100102010101011001, 11101010011011001001101, and 11014000001010001210, respectively. The sum of the digits is 13 in the 4 cases.
PROG
(PARI) isok(k, n) = #Set(vector(n-1, b, b++; sumdigits(k, b))) == 1;
a(n) = my(k=2); while (!isok(k, n), k++); k; \\ Michel Marcus, Sep 02 2023
CROSSREFS
Sequence in context: A368005 A084392 A156155 * A263486 A182544 A216120
KEYWORD
nonn,base,hard,more
AUTHOR
Giovanni Resta, Aug 05 2018
EXTENSIONS
a(2) = 2 prepended by Max Alekseyev, Aug 29 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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)