Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-348-sum-of-a-square-and-a-cube.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* 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>
2021-01-12 19:31:00 -07:00

900 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f4c81000cf542c50ffdb Problem 348: Sum of a square and a cube 5 302007 problem-348-sum-of-a-square-and-a-cube

--description--

Many numbers can be expressed as the sum of a square and a cube. Some of them in more than one way.

Consider the palindromic numbers that can be expressed as the sum of a square and a cube, both greater than 1, in exactly 4 different ways. For example, 5229225 is a palindromic number and it can be expressed in exactly 4 different ways: 22852 + 203 22232 + 663 18102 + 1253 11972 + 1563

Find the sum of the five smallest such palindromic numbers.

--hints--

euler348() should return 1004195061.

assert.strictEqual(euler348(), 1004195061);

--seed--

--seed-contents--

function euler348() {

  return true;
}

euler348();

--solutions--

// solution required