Donate to Remove ads

Got a credit card? use our Credit Card & Finance Calculators

Thanks to Wasron,jfgw,Rhyd6,eyeball08,Wondergirly, for Donating to support the site

Cubes

cinelli
Lemon Slice
Posts: 554
Joined: November 9th, 2016, 11:33 am
Has thanked: 234 times
Been thanked: 161 times

Cubes

#590252

Postby cinelli » May 20th, 2023, 11:22 am

Find all numbers with the property that each is equal to the sum of the cubes of its digits. There aren’t many.

Cinelli

UncleEbenezer
The full Lemon
Posts: 10816
Joined: November 4th, 2016, 8:17 pm
Has thanked: 1472 times
Been thanked: 3006 times

Re: Cubes

#590288

Postby UncleEbenezer » May 20th, 2023, 1:54 pm

cinelli wrote:Find all numbers with the property that each is equal to the sum of the cubes of its digits. There aren’t many.

Cinelli


There are many. Indeed infinitely many!

Single digits: 1, 0, -1.

From these, 00, 01, 000, 001, 0000, 0001, etc.

But I expect you were looking at cases like
153 = 1 + 125 + 27
370 = 9 + 343 + 0
371 = 9 + 343 + 1
407 = 64 + 0 + 343

jfgw
Lemon Quarter
Posts: 2565
Joined: November 4th, 2016, 3:36 pm
Has thanked: 1108 times
Been thanked: 1167 times

Re: Cubes

#590290

Postby jfgw » May 20th, 2023, 2:09 pm

I found six, and this is all there are.

I have not counted -1 as its digit is 1. If you count negatives, there are five more, e.g., -371 is -3 hundreds, -7 tens and -1 unit.

407 is the same number as 00407.


Julian F. G. W.

UncleEbenezer
The full Lemon
Posts: 10816
Joined: November 4th, 2016, 8:17 pm
Has thanked: 1472 times
Been thanked: 3006 times

Re: Cubes

#590292

Postby UncleEbenezer » May 20th, 2023, 2:16 pm

jfgw wrote:I have not counted -1 as its digit is 1. If you count negatives, there are five more, e.g., -371 is -3 hundreds, -7 tens and -1 unit.

Agreed, playing with negatives (or complex numbers) here is a bit dodgy ;)

407 is the same number as 00407.

But the question said nothing about distinct numbers!

jfgw
Lemon Quarter
Posts: 2565
Joined: November 4th, 2016, 3:36 pm
Has thanked: 1108 times
Been thanked: 1167 times

Re: Cubes

#590304

Postby jfgw » May 20th, 2023, 3:07 pm

UncleEbenezer wrote:But the question said nothing about distinct numbers!

I will let the OP ajudicate.

I would question infinity (expressed as an infinite sequence of digits) too.


Julian F. G. W.

cinelli
Lemon Slice
Posts: 554
Joined: November 9th, 2016, 11:33 am
Has thanked: 234 times
Been thanked: 161 times

Re: Cubes

#590455

Postby cinelli » May 21st, 2023, 7:39 pm

Well solved, UncleEbenezer. A timely solution. This isn't a criticism but I believe several would be interested in the method you used.

Cinelli


Return to “Games, Puzzles and Riddles”

Who is online

Users browsing this forum: No registered users and 23 guests