No integer whose digits add up to ## 15 ## can be a square or a cube

Click For Summary

Homework Help Overview

The discussion revolves around the assertion that no integer whose digits sum to 15 can be a square or a cube, with a focus on modular arithmetic properties related to these integers.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants explore modular properties of integers, particularly how they relate to the sum of digits and their implications for squares and cubes. There is a focus on the necessity of certain assumptions in the proof process.

Discussion Status

Participants are critically evaluating the proof presented by the original poster, noting the importance of explicitly stating assumptions. There is an ongoing examination of the logical steps taken and the clarity of the reasoning involved.

Contextual Notes

Some participants express concern over the lack of clarity regarding assumptions made in the proof, particularly the relationship between a number and the sum of its digits modulo 9.

Math100
Messages
823
Reaction score
234
Homework Statement
Prove that no integer whose digits add up to ## 15 ## can be a square or a cube.
[Hint: For any ## a ##, ## a^{3}\equiv 0, 1, ## or ## 8\pmod {9} ##.]
Relevant Equations
None.
Proof:

Let ## a ## be any integer.
Then ## a\equiv 0, 1, 2, 3, 4, 5, 6, 7 ##, or ## 8\pmod {9} ##.
This means ## a^{2}\equiv 0, 1, 4, 9, 7, 7, 0, 4 ##, or ## 1\pmod {9} ## and ## a^{3}\equiv 0, 1, 8, 0, 1, 8, 0, 1 ##, or ## 8\pmod {9} ##.
Thus ## a^{2}\equiv 0, 1, 4 ##, or ## 7\pmod {9} ## and ## a^{3}\equiv 0, 1 ##, or ## 8\pmod {9} ##.
There exists no integer ## a ## such that ## a^{2}\equiv 6\pmod {9} ## or ## a^{3}\equiv 6\pmod {9} ##.
Therefore, no integer whose digits add up to ## 15 ## can be a square or a cube.
 
  • Like
Likes   Reactions: Delta2
Physics news on Phys.org
Math100 said:
Homework Statement:: Prove that no integer whose digits add up to ## 15 ## can be a square or a cube.
[Hint: For any ## a ##, ## a^{3}\equiv 0, 1, ## or ## 8\pmod {9} ##.]
Relevant Equations:: None.

Proof:

Let ## a ## be any integer.
Then ## a\equiv 0, 1, 2, 3, 4, 5, 6, 7 ##, or ## 8\pmod {9} ##.
This means ## a^{2}\equiv 0, 1, 4, 9, 7, 7, 0, 4 ##, or ## 1\pmod {9} ## and ## a^{3}\equiv 0, 1, 8, 0, 1, 8, 0, 1 ##, or ## 8\pmod {9} ##.
Thus ## a^{2}\equiv 0, 1, 4 ##, or ## 7\pmod {9} ## and ## a^{3}\equiv 0, 1 ##, or ## 8\pmod {9} ##.
There exists no integer ## a ## such that ## a^{2}\equiv 6\pmod {9} ## or ## a^{3}\equiv 6\pmod {9} ##.
Therefore, no integer whose digits add up to ## 15 ## can be a square or a cube.
Let's see:
\begin{align*}
N&=a_k\cdot 10^k+\ldots +a_1\cdot 10 +a_0 = a^m \text{ with } m\in \{2,3\} \text{ and } \sum a_i =15\\
&\Longrightarrow \\
N&\equiv a_k \cdot 1^k +\ldots +a_1\cdot 1 +a_0 \equiv 15 \equiv 6 \pmod{9}
\end{align*}

Your solution is correct, I just needed ##10^j\equiv 1\pmod 9## to close the gap between ##\sum a_i =15## and ##a^m \not\equiv 6 \pmod 9.##
 
  • Like
Likes   Reactions: Delta2, malawi_glenn and Math100
fresh_42 said:
Your solution is correct, I just needed ##10^j\equiv 1\pmod 9## to close the gap between ##\sum a_i =15## and ##a^m \not\equiv 6 \pmod 9.##
But that is the only non-trivial step! Without it the 'proof' is worthless.
 
  • Like
Likes   Reactions: Delta2
pbuk said:
But that is the only non-trivial step! Without it the 'proof' is worthless.
The OP has done many problems here where he states that a number modulo 9 is equal to the sum of its digits (in base 10) modulo 9 so in his mind he has this step self implied I think. But of course the objective reader can't be inside his mind to know what he is thinking.
 
  • Like
Likes   Reactions: fresh_42
Delta2 said:
The OP has done many problems here where he states that a number modulo 9 is equal to the sum of its digits (in base 10) modulo 9 so in his mind he has this step self implied I think. But of course the objective reader can't be inside his mind to know what he is thinking.
Indeed. And even if the OP decides to assume this without proof, they still need to state that they are assuming this without proof. The same goes for the assumption that ## a^2 \pmod 9 \equiv (a \pmod 9)^2 \pmod 9 ## at the beginning.

Why the OP doesn't think it is important to include these assumptions but thinks that it is important to state that ## a \in \mathbb N \Rightarrow a\equiv 0, 1, 2, 3, 4, 5, 6, 7 \text{ or } 8 \pmod 9 ## is unfathomable to me.
 
  • Like
Likes   Reactions: Delta2

Similar threads

Replies
7
Views
2K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K