Some Squares(2)

Calculus Level 5

Define f ( x ) f(x) as the number of positive integers not larger than x x that cannot be expressed in the form a 2 + b 2 + c 2 , a^2+b^2+c^2, where a , b , c a,b,c are integers. Then what is lim x x f ( x ) ? \lim_{x\to\infty}\frac x{f(x)}? For example, f ( 20 ) = 2 f(20)=2 because 7 7 and 15 15 can't be expressed in the form a 2 + b 2 + c 2 . a^2+b^2+c^2.


Try my set here .


The answer is 6.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Zico Quintina
May 25, 2018

The numbers that cannot be written as the sum of three squares are precisely those that can be written in the form 4 a ( 8 b + 7 ) 4^a (8b + 7) , for a , b N a,b \in \mathbb{N} . This is Legendre's Three Square Theorem ; it's proof is, by all indications, extremely complicated.

Consider the excluded numbers for the first few values of a a :

  • a = 0 a = 0 : 7 , 15 , 23 , 31 , . . . . \qquad 7, 15, 23, 31, ....\ i.e. 1 8 \dfrac{1}{8} of all natural numbers.
  • a = 1 a = 1 : 28 , 60 , 92 , 124 , . . . . \qquad 28, 60, 92, 124, ....\ i.e. 1 4 8 = 1 32 \dfrac{1}{4 \cdot 8} = \dfrac{1}{32} of all natural numbers.
  • a = 2 a = 2 : 112 , 240 , 368 , 496 , . . . . \qquad 112, 240, 368, 496, ....\ i.e. 1 4 2 8 = 1 128 \dfrac{1}{4^2 \cdot 8} = \dfrac{1}{128} of all natural numbers.

\qquad \; \; \vdots \\ \qquad \; \; \vdots

In general, for any a , 1 4 a 8 a, \dfrac{1}{4^a \cdot 8} of the natural numbers cannot be expressed as the sum of three squares.

Then, over all values of a a , the fraction of the natural numbers that are not expressible as the sum of three squares is

1 4 0 8 + 1 4 1 8 + 1 4 2 8 + . . . . = a = 0 1 4 a 8 = 1 8 a = 0 1 4 a = 1 8 ( 1 1 1 4 ) = 1 8 4 3 = 1 6 \begin{aligned} \dfrac{1}{4^0 \cdot 8} + \dfrac{1}{4^1 \cdot 8} + \dfrac{1}{4^2 \cdot 8} + .... &= \sum_{a = 0}^{\infty} \dfrac{1}{4^a \cdot 8} \\ \\ &= \dfrac{1}{8} \sum_{a = 0}^{\infty} \dfrac{1}{4^a} \\ \\ &= \dfrac{1}{8} \left( \dfrac{1}{1 - \frac{1}{4}} \right) \\ \\ &= \dfrac{1}{8} \cdot \dfrac{4}{3} \\ \\ &= \dfrac{1}{6} \end{aligned}

and therefore

lim x x f ( x ) = 6 \lim_{x\to \infty} \dfrac{x}{f(x)} = \boxed{6}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...