Skip to content

Instantly share code, notes, and snippets.

@susisu
Last active August 29, 2015 14:10
Show Gist options
  • Save susisu/065c881391f47318e4c6 to your computer and use it in GitHub Desktop.
Save susisu/065c881391f47318e4c6 to your computer and use it in GitHub Desktop.
first 100 palindromic squares
1 1
2 4
3 9
11 121
22 484
26 676
101 10201
111 12321
121 14641
202 40804
212 44944
264 69696
307 94249
836 698896
1001 1002001
1111 1234321
2002 4008004
2285 5221225
2636 6948496
10001 100020001
10101 102030201
10201 104060401
11011 121242121
11111 123454321
11211 125686521
20002 400080004
20102 404090404
22865 522808225
24846 617323716
30693 942060249
100001 10000200001
101101 10221412201
110011 12102420121
111111 12345654321
200002 40000800004
798644 637832238736
1000001 1000002000001
1001001 1002003002001
1002001 1004006004001
1010101 1020304030201
1011101 1022325232201
1012101 1024348434201
1042151 1086078706801
1100011 1210024200121
1101011 1212225222121
1102011 1214428244121
1109111 1230127210321
1110111 1232346432321
1111111 1234567654321
1270869 1615108015161
2000002 4000008000004
2001002 4004009004004
2012748 4051154511504
2294675 5265533355625
3069307 9420645460249
10000001 100000020000001
10011001 100220141022001
10100101 102012040210201
10111101 102234363432201
11000011 121000242000121
11011011 121242363242121
11100111 123212464212321
11111111 123456787654321
11129361 123862676268321
12028229 144678292876441
12866669 165551171155561
20000002 400000080000004
30001253 900075181570009
64030648 4099923883299904
100000001 10000000200000001
100010001 10002000300020001
100020001 10004000600040001
100101001 10020210401202001
100111001 10022212521222001
100121001 10024214841242001
101000101 10201020402010201
101010101 10203040504030201
101020101 10205060806050201
101101101 10221432623412201
101111101 10223454745432201
110000011 12100002420000121
110010011 12102202520220121
110020011 12104402820440121
110091011 12120030703002121
110101011 12122232623222121
110111011 12124434743442121
111000111 12321024642012321
111010111 12323244744232321
111091111 12341234943214321
111101111 12343456865434321
111111111 12345678987654321
200000002 40000000800000004
200010002 40004000900040004
306930693 94206450305460249
1000000001 1000000002000000001
1000110001 1000220014100220001
1001001001 1002003004003002001
1001111001 1002223236323222001
1010000101 1020100204020010201
1010110101 1020322416142230201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment