Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫  π  -¹ ² ³ °

You are not logged in.

## #1 Help Me ! » Pls Help » 2009-11-05 05:02:05

talhakosen
Replies: 4

Hi all,
8x8 cheesboard how many different ways can you select a block of five neighbour squares?
Two squares are neighbours if they have a common side.
(for 3x3 board  = 49 ways)

i found thats answer in mathisfun from, but it is really long way, but my boss said me that it can be calculated to easily with a little code ( written  by C,C++,C#...). So Does anybody have an idea ? (formulas, algorithm exc...)

## #2 Coder's Corner » Calculate a block of five in 8 x 8 board ? » 2009-11-04 08:51:07

talhakosen
Replies: 7

Hi all,

I need to know how to write a code with C or C++  which calculates below

8x8 cheesboard how many different ways can you select a block of five neighbour squares?
Two squares are neighbours if they have a common side.
(for 3x3 board  = 49 ways)

Thanx

## #3 Re: Help Me ! » Electrical Switches, pls help !! » 2009-11-03 03:16:15

i see now thanks a lot

## #4 Re: Help Me ! » Electrical Switches, pls help !! » 2009-11-03 00:29:45

firs of all thanks for you answer mathsyperson ! It is really awesome...

5C3 * 7 , i understood it 7 comes from free wire, (AE,AD,BE,BD,CE,CD,DE)

but i couldnt see how 4 wires form can be 15 times in switches.
i can think only 5c4 !!
Could you explain it to me if you have a little time more ...

## #5 Re: Help Me ! » Electrical Switches, pls help !! » 2009-11-02 16:54:59

Hi mathsyperson,

210 - 70 - 5 = 135.
i really tought about the number that you . But i couldnt understood how to find them clearly. Could you please give me more info ?
Thanks a lot

## #6 Re: Help Me ! » Electrical Switches, pls help !! » 2009-11-02 03:27:55

Thanks for giving your time !