diff --git a/challenges/08-coding-interview-questions-and-take-home-assignments/project-euler-problems.json b/challenges/08-coding-interview-questions-and-take-home-assignments/project-euler-problems.json
index 3cb279e774..b0a4bb943d 100644
--- a/challenges/08-coding-interview-questions-and-take-home-assignments/project-euler-problems.json
+++ b/challenges/08-coding-interview-questions-and-take-home-assignments/project-euler-problems.json
@@ -921,17 +921,20 @@
"type": "bonfire",
"title": "Problem 29: Distinct powers",
"tests": [
- "assert.strictEqual(euler29(), 9183, 'message: euler29()
should return 9183.');"
+ "assert.strictEqual(distinctPowers(15), 177, 'message: distinctPowers(15)
should return 177.');",
+ "assert.strictEqual(distinctPowers(20), 324, 'message: distinctPowers(20)
should return 324.');",
+ "assert.strictEqual(distinctPowers(25), 519, 'message: distinctPowers(25)
should return 519.');",
+ "assert.strictEqual(distinctPowers(30), 755, 'message: distinctPowers(30)
should return 755.');"
],
"solutions": [],
"translations": {},
"challengeSeed": [
- "function euler29() {",
+ "function distinctPowers(n) {",
" // Good luck!",
- " return true;",
+ " return n;",
"}",
"",
- "euler29();"
+ "distinctPowers(30);"
],
"description": [
"Consider all integer combinations of ab for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5:",
@@ -941,7 +944,7 @@
"52=25, 53=125, 54=625, 55=3125",
"If they are then placed in numerical order, with any repeats removed, we get the following sequence of 15 distinct terms:",
"4, 8, 9, 16, 25, 27, 32, 64, 81, 125, 243, 256, 625, 1024, 3125",
- "How many distinct terms are in the sequence generated by ab for 2 ≤ a ≤ 100 and 2 ≤ b ≤ 100?"
+ "How many distinct terms are in the sequence generated by ab for 2 ≤ a ≤ n and 2 ≤ b ≤ n?"
]
},
{