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!)
A243152 a(n) = the digit that is repeated exactly n times in the string A243151(n)^n. 0
1, 1, 6, 3, 9, 4, 1, 1, 6, 0, 8, 5, 4, 8, 7, 1, 4, 1, 6, 0, 6, 3, 8, 9, 3, 4, 9, 6, 7, 6, 7, 4, 6, 0, 3, 9, 6, 0, 9, 5, 1, 3, 1, 6, 2, 7, 7, 9, 4, 8, 9, 2, 7, 7, 7, 9, 9, 4, 9, 9, 1, 0, 9, 5, 9, 5, 5, 6, 4, 3, 2, 6, 3, 7, 4, 7, 2, 0, 1, 2, 8, 1, 9, 6, 9, 9, 1, 9, 3, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
In the event of a tie, choose the smaller integer.
LINKS
EXAMPLE
A243151(2) = 11. So A243151(2)^2 = 121. Since the digit 1 is the one repeated two times, a(2) = 1.
PROG
(Python)
def c(n):
..for k in range(10**7):
....if k % 10 == 0:
......lst = []
......count = 0
......for i in range(10):
........if str(k**n).count(str(i)) == n:
..........return i
n = 1
while n < 100:
..print(c(n), end=', ')
..n+=1
CROSSREFS
Cf. A243151.
Sequence in context: A158606 A021065 A262041 * A093754 A135935 A263183
KEYWORD
nonn,base
AUTHOR
Derek Orr, May 31 2014
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.)