1,1

Upper limit of backward value of 2^n and n!. - Simon Plouffe, Mar 23 2009

Ray Chandler, Table of n, a(n) for n = 1..10000

(Python)

# upper limit of backward value of 2^n

a, i=8, 0; x=a

while 1:

i+=1; print x, ', ' ,

if a%2**(i+1) == 0: x=8

else: x=9

a=a+x*10**i

# Cezary Glowacz, Mar 11 2017

Sequence in context: A248762 A186985 A203127 * A294659 A134314 A242891

Adjacent sequences: A023412 A023413 A023414 * A023416 A023417 A023418

nonn,base

David W. Wilson

approved