OFFSET
0,3
LINKS
Robert Israel, Table of n, a(n) for n = 0..3318
MAPLE
a:= n-> (s-> parse(cat(s[-i]$i=1..length(s))))(""||(2^n))-1:
seq(a(n), n=0..50); # Alois P. Heinz, Feb 24 2021
MATHEMATICA
Array[IntegerReverse[2^#] - 1 &, 32, 0] (* Michael De Vlieger, Feb 24 2021 *)
PROG
(Python)
A341718_list = [int(str(2**n)[::-1])-1 for n in range(20)] # Chai Wah Wu, Feb 24 2021
(PARI) a(n) = fromdigits(Vecrev(digits(2^n))) - 1; \\ Michel Marcus, Feb 25 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Feb 24 2021
STATUS
approved