All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
1 Palindrome 1 (Posted on 2006-06-10) Difficulty: 2 of 5
Take a standard 8x8 chessboard, number the black squares 1 and the white squares 0. How many palindromes does this board contain in 'word-search' fashion?

Now generalize and find a formula for any n*n board.

Notes: A palindrome and its reversal should not be counted twice. A palindrome must be at least two digits long and leading zeroes are not allowed. Numbers can be read in any single vertical, horizontal or diagonal direction.

See The Solution Submitted by Jer    
Rating: 3.6667 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Hints/Tips Some numbers | Comment 1 of 9
Each horizontal/vertical line: 12 palindromes.
A diagonal N squares long: N(N+1)/2 palindromes.

Now, it's counting: 16 lines, plus two 8-squares diagonales, plus 4 each of 7-, 6-, 5-, 4-, 3-, and 2- squares diagonals.

Did I miss anything?

  Posted by e.g. on 2006-06-10 16:24:54
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information