worst sequence?

12 views
Skip to first unread message

John Hanna

unread,
Mar 1, 2022, 7:03:53 AMMar 1
to tins...@googlegroups.com

 

"""

http://oeis.org/A133376

worst integer sequence?

 

a(n) = (...((2^3)^4)^...)^n

2, 8, 4096, 1152921504606846976,...

 

This program prints the length of each term:

1

4

19

109

759

6069

54619

...

John Hanna, johne...@gmail.com

 

01 March 2022

"""

 

from ti_system import *

n=2

i=3

while get_key(1)!="esc":

  print(len(str(n)))

  n=n**i

  i+=1

 

 

Be kind,

     John

 

Reply all
Reply to author
Forward
0 new messages