login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A215733 a(n) is the first digit to appear n times in succession in a power of 3. 14
1, 7, 8, 5, 5, 8, 2, 1, 2, 2, 2, 4, 5, 8, 2, 4, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..17.

PROG

(Python)

def A215733(n):

....l, x = [str(d)*n for d in range(10)], 1

....for m in range(10**9):

........s = str(x)

........for k in range(10):

............if l[k] in s:

................return k

........x *= 3

....return 'search limit reached'

# Chai Wah Wu, Dec 17 2014

CROSSREFS

Cf. A215727, A045875, A215732.

Sequence in context: A217516 A071420 A031139 * A226750 A021564 A021060

Adjacent sequences:  A215730 A215731 A215732 * A215734 A215735 A215736

KEYWORD

nonn,base,more

AUTHOR

V. Raman, Aug 22 2012

EXTENSIONS

a(12) from Chai Wah Wu, Dec 17 2014

a(13)-a(14) from Giovanni Resta, Apr 20 2016

a(15) from Bert Dobbelaere, Mar 04 2019

a(16)-a(17) from Bert Dobbelaere, Mar 20 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 29 04:33 EDT 2020. Contains 334697 sequences. (Running on oeis4.)