Can all natural numbers be expressed as the sum of two triangular numbers?

  • Thread starter Thread starter AKG
  • Start date Start date
  • Tags Tags
    Numbers Sum
Click For Summary
SUMMARY

All natural numbers can be expressed as the sum of two triangular numbers under specific conditions. When 0 is excluded as a triangular number, the expressible numbers include 2, 4, 6, 7, 9, 11, 12, 13, 16, 18, 20, 21, 22, 24, 25, 27, 29, 30, 31, 34, 36, and 37. If 0 is included, the list expands to include 3, 10, 15, and 28. However, certain numbers such as 3, 5, 8, 10, 14, 15, 17, 19, 23, 26, 28, 32, 33, and 35 cannot be expressed as such. The relationship between triangular numbers does not exhibit the same properties as the sum of two squares, indicating a more complex structure.

PREREQUISITES
  • Understanding of triangular numbers and their properties
  • Basic knowledge of number theory
  • Familiarity with mathematical notation and expressions
  • Experience with modular arithmetic concepts
NEXT STEPS
  • Research the properties of triangular numbers in number theory
  • Explore the relationship between sums of two squares and triangular numbers
  • Investigate affine transformations in mathematical contexts
  • Study the implications of modular arithmetic on number representations
USEFUL FOR

Mathematicians, number theorists, and students interested in the properties of triangular numbers and their applications in mathematical proofs and theories.

AKG
Science Advisor
Homework Helper
Messages
2,561
Reaction score
4
Which number can be expressed as the sum of two triangular numbers? I don't even know how to start with this one. Here is some data:

If you don't count 0 as a triangular number, then the following can:

2
4
6
7
9
11
12
13
16
18
20
21
22
24
25
27
29
30
31
34
36
37

And these can't:

3
5
8
10
14
15
17
19
23
26
28
32
33
35

If you do count 0 as one, then the following can:

2
3
4
6
7
9
10
11
12
13
15
16
18
20
21
22
24
25
27
28
29
30
31
34
36
37

And these can't:

5
8
14
17
19
23
26
32
33
35

Unlike the sum of two squares problem, you don't get anything so nice like if a and b are the sum of two triangles, then so is ab. Also, with sums of two squares, there's the fact if p is an odd prime, then p is a sum of two squares iff p = 1 (mod 4). Again, nothing as nice appears to be true for triangle numbers (even if you replace mod 4 with mod 3 or other small primes, or so it seems).
 
Physics news on Phys.org
5
8
14
17
19
23
26
32
33
35
One thing that strikes me about this list is that it has:
5, 8
14, 17 (= 5 + 9, 8 + 9)
23, 26 (= 14 + 9, 17 + 9)
32, 35 (= 23 + 9, 26 + 9)
With 19 and 33 the only ones remaining.

Maybe it's just a spurious pattern that arises because we're only looking at very small numbers, though.
 
Another thing that may or may not be useful: observe that the sum of the m-th and n-th triangular numbers is:

\frac{m(m+1)}{2} + \frac{n(n+1)}{2}<br /> = \frac{1}{2} \left( \left(m + \frac{1}{2}\right)^2 + \left(n + \frac{1}{2}\right)^2 - \frac{1}{2} \right)

Maybe you could apply some of the reasoning for the sum of two squares to this case, through an affine transformation.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 3 ·
Replies
3
Views
924
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K