* fix: clean-up Project Euler 181-200 * fix: corrections from review Co-authored-by: Tom <20648924+moT01@users.noreply.github.com> * fix: missing delimiter Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
		
			
				
	
	
		
			41 lines
		
	
	
		
			686 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			686 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| id: 5900f42f1000cf542c50ff41
 | |
| title: 'Problem 193: Squarefree Numbers'
 | |
| challengeType: 5
 | |
| forumTopicId: 301831
 | |
| dashedName: problem-193-squarefree-numbers
 | |
| ---
 | |
| 
 | |
| # --description--
 | |
| 
 | |
| A positive integer $n$ is called squarefree, if no square of a prime divides $n$, thus 1, 2, 3, 5, 6, 7, 10, 11 are squarefree, but not 4, 8, 9, 12.
 | |
| 
 | |
| How many squarefree numbers are there below $2^{50}$?
 | |
| 
 | |
| # --hints--
 | |
| 
 | |
| `squarefreeNumbers()` should return `684465067343069`.
 | |
| 
 | |
| ```js
 | |
| assert.strictEqual(squarefreeNumbers(), 684465067343069);
 | |
| ```
 | |
| 
 | |
| # --seed--
 | |
| 
 | |
| ## --seed-contents--
 | |
| 
 | |
| ```js
 | |
| function squarefreeNumbers() {
 | |
| 
 | |
|   return true;
 | |
| }
 | |
| 
 | |
| squarefreeNumbers();
 | |
| ```
 | |
| 
 | |
| # --solutions--
 | |
| 
 | |
| ```js
 | |
| // solution required
 | |
| ```
 |