OFFSET
1,1
COMMENTS
a(14)=7321, a(17)=6294.
EXAMPLE
n=4: a(4)=26 because gcd(2^26, reverse(2^26)) = gcd(67108864, 46880176) = 16 = 2^n.
MATHEMATICA
a[n_] := Block[{k=1}, While[ IntegerExponent[ GCD[2^k, FromDigits@ Reverse@ IntegerDigits[2^k]], 2] != n, k++]; k]; Array[a, 13, 0] (* Giovanni Resta, Oct 28 2019 *)
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Labos Elemer, Jun 07 2002
EXTENSIONS
Offset corrected, missing a(3) and a(13)-a(22) added by Giovanni Resta, Oct 28 2019
STATUS
approved