OFFSET
0,1
COMMENTS
See A367360 for further information.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..10000
FORMULA
MATHEMATICA
FromDigits /@ Partition[Rest@ Flatten[{First[#], Last[#]} & /@ IntegerDigits[2^Range[0, 120]]], 2, 2] (* Michael De Vlieger, Nov 22 2023 *)
PROG
(Python)
from itertools import count, islice, pairwise
def S(): yield from (str(2**i) for i in count(0))
def agen(): yield from (int(t[-1]+u[0]) for t, u in pairwise(S()))
print(list(islice(agen(), 80))) # Michael S. Branicky, Nov 22 2023
(Python)
def A367361(n): return (60, 20, 40, 80)[n&3]+int(str(1<<n+1)[0]) if n else 12 # Chai Wah Wu, Dec 22 2023
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Nov 22 2023
STATUS
approved