OFFSET

1,1

COMMENTS

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

LINKS

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

PROG

(Python)

# upper limit of backward value of 2^n

a, i=8, 0; x=a

while i < 200:

i+=1; print(x, end=', ')

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

else: x=9

a+=x*10**i

# Cezary Glowacz, Mar 11 2017

CROSSREFS

KEYWORD

nonn,base

AUTHOR

STATUS

approved