A029997 Squares which are palindromes in base 11.
0, 1, 4, 9, 36, 144, 576, 676, 5184, 7056, 14884, 17689, 20736, 59536, 65025, 77841, 145924, 535824, 1774224, 2143296, 2547216, 5827396, 7096896, 7817616, 9375844, 20034576, 63872064, 214388164, 217946169, 221533456, 255488256, 259371025
Offset: 1
Links
- Vincenzo Librandi and Chai Wah Wu, Table of n, a(n) for n = 1..129 First 60 terms from Vincenzo Librandi.
- Patrick De Geest, Palindromic Squares in bases 2 to 17
Crossrefs
Programs
-
Mathematica
pb11Q[n_]:=Module[{idn11=IntegerDigits[n,11]},idn11==Reverse[idn11]]; Select[Range[0,17000]^2,pb11Q] (* Harvey P. Dale, Jul 23 2014 *)
-
Python
from gmpy2 import digits A029997_list = [n for n in (x**2 for x in range(10**7)) if digits(n,11) == digits(n,11)[::-1]] # Chai Wah Wu, Dec 01 2014