OFFSET
0,2
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..3321
FORMULA
EXAMPLE
a(10) = 1111, because 2^10 = 1024 and 1111 is the smallest palindromic number >= 1024.
MATHEMATICA
spn[n_]:=Module[{k=2^n}, While[!PalindromeQ[k], k++]; k]; Array[spn, 40, 0] (* Harvey P. Dale, Jun 12 2023 *)
PROG
(PARI) a(n) = for(k=2^n, oo, if(Vecrev(v=digits(k))==v, return(k))); \\ Jinyuan Wang, Mar 05 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eder Vanzei, Mar 05 2020
EXTENSIONS
a(9) corrected by and more terms from Jinyuan Wang, Mar 05 2020
STATUS
approved