* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
		
			
				
	
	
		
			47 lines
		
	
	
		
			917 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			917 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| id: 5900f40d1000cf542c50ff20
 | |
| title: 'Problem 161: Triominoes'
 | |
| challengeType: 5
 | |
| forumTopicId: 301795
 | |
| dashedName: problem-161-triominoes
 | |
| ---
 | |
| 
 | |
| # --description--
 | |
| 
 | |
| A triomino is a shape consisting of three squares joined via the edges.
 | |
| 
 | |
| There are two basic forms:
 | |
| 
 | |
| If all possible orientations are taken into account there are six:
 | |
| 
 | |
| Any n by m grid for which nxm is divisible by 3 can be tiled with triominoes. If we consider tilings that can be obtained by reflection or rotation from another tiling as different there are 41 ways a 2 by 9 grid can be tiled with triominoes:
 | |
| 
 | |
| In how many ways can a 9 by 12 grid be tiled in this way by triominoes?
 | |
| 
 | |
| # --hints--
 | |
| 
 | |
| `euler161()` should return 20574308184277972.
 | |
| 
 | |
| ```js
 | |
| assert.strictEqual(euler161(), 20574308184277972);
 | |
| ```
 | |
| 
 | |
| # --seed--
 | |
| 
 | |
| ## --seed-contents--
 | |
| 
 | |
| ```js
 | |
| function euler161() {
 | |
| 
 | |
|   return true;
 | |
| }
 | |
| 
 | |
| euler161();
 | |
| ```
 | |
| 
 | |
| # --solutions--
 | |
| 
 | |
| ```js
 | |
| // solution required
 | |
| ```
 |