OFFSET
0,2
FORMULA
a(0) = 1; a(n) = a(n-1)*2 if n is odd, otherwise a(n) = a(n-1)^2.
a(n) = 2^A075427(n-1), for n>=1.
PROG
(Python)
def A362343(n): return 1<<((1<<(n>>1)+1)-1 if n&1 else (1<<(n>>1)+1)-2) # Chai Wah Wu, Apr 23 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Christopher Roat, Apr 17 2023
STATUS
approved