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

Home > Shapes
Painting high dimension cubes (Posted on 2015-03-05) Difficulty: 3 of 5
If you paint the six sides of a 3x3x3 cube and then slice it into 27 unit cubes, how many will have paint on 0, 1, 2, 3 of their square sides?

Generalize to any dimension:
If you paint the sides of a n dimensional cube with sides length 3 and slice it into 3n unit cubes, how many will have paint on 0, 1, 2, ..., n of their (n-1) dimensional sides?

No Solution Yet Submitted by Jer    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts Well this seems pretty straightforward. | Comment 1 of 4
0 sides = interior cubes = (n-2)^3
1 side = 6 sides * (n-2)^2 per side = 6(n-2)^2
2 sides = 12 edges *(n-2) per edge = 12(n-2) 
3 sides = corners = 8

Checking, we see that this adds correctly:

n^3 -6n^2 + 12n + 8
        6n^2 - 24n  +24
                   12n  - 24
                             8
----------------------------
n^3

/***********************************/
oops.  Misread the problem.  I obviously answered for a 3 dimensional cube of side n.

Edited on March 5, 2015, 3:03 pm
  Posted by Steve Herman on 2015-03-05 14:56:53

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 (7)
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