Show the Lagrange Four Square Theorem for

454

Lagrange Four Square Definition

For any natural number (p), we write as

p = a2 + b2 + c2 + d2

Determine max_a:

Floor(√454) = Floor(21.307275752663)

Floor(21.307275752663) = 21
This is called max_a

Determine min_a:

Find the first value of a such that
a2 ≥ n/4

Start with min_a = 0 and increase by 1

Continue until we reach or breach n/4 → 454/4 = 113.5

When min_a = 11, then it is a2 = 121 ≥ 113.5, so min_a = 11

Find a in the range of (min_a, max_a)

(0, 21)

a = 0

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 02)

max_b = Floor(√454 - 0)

max_b = Floor(√454)

max_b = Floor(21.307275752663)

max_b = 21

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 02)/3 = 151.33333333333

When min_b = 13, then it is b2 = 169 ≥ 151.33333333333, so min_b = 13

Test values for b in the range of (min_b, max_b)

(13, 21)

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 02 - 132)

max_c = Floor(√454 - 0 - 169)

max_c = Floor(√285)

max_c = Floor(16.881943016134)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 02 - 132)/2 = 142.5

When min_c = 12, then it is c2 = 144 ≥ 142.5, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 132 - 122

max_d = √454 - 0 - 169 - 144

max_d = √141

max_d = 11.874342087038

Since max_d = 11.874342087038 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 132 - 132

max_d = √454 - 0 - 169 - 169

max_d = √116

max_d = 10.770329614269

Since max_d = 10.770329614269 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 132 - 142

max_d = √454 - 0 - 169 - 196

max_d = √89

max_d = 9.4339811320566

Since max_d = 9.4339811320566 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 132 - 152

max_d = √454 - 0 - 169 - 225

max_d = √60

max_d = 7.7459666924148

Since max_d = 7.7459666924148 is not an integer, this is not a solution

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 132 - 162

max_d = √454 - 0 - 169 - 256

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 02 - 142)

max_c = Floor(√454 - 0 - 196)

max_c = Floor(√258)

max_c = Floor(16.062378404209)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 02 - 142)/2 = 129

When min_c = 12, then it is c2 = 144 ≥ 129, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 142 - 122

max_d = √454 - 0 - 196 - 144

max_d = √114

max_d = 10.677078252031

Since max_d = 10.677078252031 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 142 - 132

max_d = √454 - 0 - 196 - 169

max_d = √89

max_d = 9.4339811320566

Since max_d = 9.4339811320566 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 142 - 142

max_d = √454 - 0 - 196 - 196

max_d = √62

max_d = 7.8740078740118

Since max_d = 7.8740078740118 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 142 - 152

max_d = √454 - 0 - 196 - 225

max_d = √33

max_d = 5.744562646538

Since max_d = 5.744562646538 is not an integer, this is not a solution

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 142 - 162

max_d = √454 - 0 - 196 - 256

max_d = √2

max_d = 1.4142135623731

Since max_d = 1.4142135623731 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 02 - 152)

max_c = Floor(√454 - 0 - 225)

max_c = Floor(√229)

max_c = Floor(15.132745950422)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 02 - 152)/2 = 114.5

When min_c = 11, then it is c2 = 121 ≥ 114.5, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 152 - 112

max_d = √454 - 0 - 225 - 121

max_d = √108

max_d = 10.392304845413

Since max_d = 10.392304845413 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 152 - 122

max_d = √454 - 0 - 225 - 144

max_d = √85

max_d = 9.2195444572929

Since max_d = 9.2195444572929 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 152 - 132

max_d = √454 - 0 - 225 - 169

max_d = √60

max_d = 7.7459666924148

Since max_d = 7.7459666924148 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 152 - 142

max_d = √454 - 0 - 225 - 196

max_d = √33

max_d = 5.744562646538

Since max_d = 5.744562646538 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 152 - 152

max_d = √454 - 0 - 225 - 225

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (0, 15, 15, 2) is an integer solution proven below

02 + 152 + 152 + 22 → 0 + 225 + 225 + 4 = 454

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 02 - 162)

max_c = Floor(√454 - 0 - 256)

max_c = Floor(√198)

max_c = Floor(14.07124727947)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 02 - 162)/2 = 99

When min_c = 10, then it is c2 = 100 ≥ 99, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 162 - 102

max_d = √454 - 0 - 256 - 100

max_d = √98

max_d = 9.8994949366117

Since max_d = 9.8994949366117 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 162 - 112

max_d = √454 - 0 - 256 - 121

max_d = √77

max_d = 8.7749643873921

Since max_d = 8.7749643873921 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 162 - 122

max_d = √454 - 0 - 256 - 144

max_d = √54

max_d = 7.3484692283495

Since max_d = 7.3484692283495 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 162 - 132

max_d = √454 - 0 - 256 - 169

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 162 - 142

max_d = √454 - 0 - 256 - 196

max_d = √2

max_d = 1.4142135623731

Since max_d = 1.4142135623731 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 02 - 172)

max_c = Floor(√454 - 0 - 289)

max_c = Floor(√165)

max_c = Floor(12.845232578665)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 02 - 172)/2 = 82.5

When min_c = 10, then it is c2 = 100 ≥ 82.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 172 - 102

max_d = √454 - 0 - 289 - 100

max_d = √65

max_d = 8.0622577482985

Since max_d = 8.0622577482985 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 172 - 112

max_d = √454 - 0 - 289 - 121

max_d = √44

max_d = 6.6332495807108

Since max_d = 6.6332495807108 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 172 - 122

max_d = √454 - 0 - 289 - 144

max_d = √21

max_d = 4.5825756949558

Since max_d = 4.5825756949558 is not an integer, this is not a solution

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 02 - 182)

max_c = Floor(√454 - 0 - 324)

max_c = Floor(√130)

max_c = Floor(11.401754250991)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 02 - 182)/2 = 65

When min_c = 9, then it is c2 = 81 ≥ 65, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 182 - 92

max_d = √454 - 0 - 324 - 81

max_d = √49

max_d = 7

Since max_d = 7, then (a, b, c, d) = (0, 18, 9, 7) is an integer solution proven below

02 + 182 + 92 + 72 → 0 + 324 + 81 + 49 = 454

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 182 - 102

max_d = √454 - 0 - 324 - 100

max_d = √30

max_d = 5.4772255750517

Since max_d = 5.4772255750517 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 182 - 112

max_d = √454 - 0 - 324 - 121

max_d = √9

max_d = 3

Since max_d = 3, then (a, b, c, d) = (0, 18, 11, 3) is an integer solution proven below

02 + 182 + 112 + 32 → 0 + 324 + 121 + 9 = 454

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 02 - 192)

max_c = Floor(√454 - 0 - 361)

max_c = Floor(√93)

max_c = Floor(9.643650760993)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 02 - 192)/2 = 46.5

When min_c = 7, then it is c2 = 49 ≥ 46.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 192 - 72

max_d = √454 - 0 - 361 - 49

max_d = √44

max_d = 6.6332495807108

Since max_d = 6.6332495807108 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 192 - 82

max_d = √454 - 0 - 361 - 64

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 192 - 92

max_d = √454 - 0 - 361 - 81

max_d = √12

max_d = 3.4641016151378

Since max_d = 3.4641016151378 is not an integer, this is not a solution

b = 20

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 02 - 202)

max_c = Floor(√454 - 0 - 400)

max_c = Floor(√54)

max_c = Floor(7.3484692283495)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 02 - 202)/2 = 27

When min_c = 6, then it is c2 = 36 ≥ 27, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 202 - 62

max_d = √454 - 0 - 400 - 36

max_d = √18

max_d = 4.2426406871193

Since max_d = 4.2426406871193 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 202 - 72

max_d = √454 - 0 - 400 - 49

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

b = 21

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 02 - 212)

max_c = Floor(√454 - 0 - 441)

max_c = Floor(√13)

max_c = Floor(3.605551275464)

max_c = 3

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 02 - 212)/2 = 6.5

When min_c = 3, then it is c2 = 9 ≥ 6.5, so min_c = 3

c = 3

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 02 - 212 - 32

max_d = √454 - 0 - 441 - 9

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (0, 21, 3, 2) is an integer solution proven below

02 + 212 + 32 + 22 → 0 + 441 + 9 + 4 = 454

a = 1

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 12)

max_b = Floor(√454 - 1)

max_b = Floor(√453)

max_b = Floor(21.283796653793)

max_b = 21

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 12)/3 = 151

When min_b = 13, then it is b2 = 169 ≥ 151, so min_b = 13

Test values for b in the range of (min_b, max_b)

(13, 21)

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 12 - 132)

max_c = Floor(√454 - 1 - 169)

max_c = Floor(√284)

max_c = Floor(16.852299546353)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 12 - 132)/2 = 142

When min_c = 12, then it is c2 = 144 ≥ 142, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 132 - 122

max_d = √454 - 1 - 169 - 144

max_d = √140

max_d = 11.832159566199

Since max_d = 11.832159566199 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 132 - 132

max_d = √454 - 1 - 169 - 169

max_d = √115

max_d = 10.723805294764

Since max_d = 10.723805294764 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 132 - 142

max_d = √454 - 1 - 169 - 196

max_d = √88

max_d = 9.3808315196469

Since max_d = 9.3808315196469 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 132 - 152

max_d = √454 - 1 - 169 - 225

max_d = √59

max_d = 7.6811457478686

Since max_d = 7.6811457478686 is not an integer, this is not a solution

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 132 - 162

max_d = √454 - 1 - 169 - 256

max_d = √28

max_d = 5.2915026221292

Since max_d = 5.2915026221292 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 12 - 142)

max_c = Floor(√454 - 1 - 196)

max_c = Floor(√257)

max_c = Floor(16.031219541881)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 12 - 142)/2 = 128.5

When min_c = 12, then it is c2 = 144 ≥ 128.5, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 142 - 122

max_d = √454 - 1 - 196 - 144

max_d = √113

max_d = 10.630145812735

Since max_d = 10.630145812735 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 142 - 132

max_d = √454 - 1 - 196 - 169

max_d = √88

max_d = 9.3808315196469

Since max_d = 9.3808315196469 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 142 - 142

max_d = √454 - 1 - 196 - 196

max_d = √61

max_d = 7.8102496759067

Since max_d = 7.8102496759067 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 142 - 152

max_d = √454 - 1 - 196 - 225

max_d = √32

max_d = 5.6568542494924

Since max_d = 5.6568542494924 is not an integer, this is not a solution

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 142 - 162

max_d = √454 - 1 - 196 - 256

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (1, 14, 16, 1) is an integer solution proven below

12 + 142 + 162 + 12 → 1 + 196 + 256 + 1 = 454

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 12 - 152)

max_c = Floor(√454 - 1 - 225)

max_c = Floor(√228)

max_c = Floor(15.099668870541)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 12 - 152)/2 = 114

When min_c = 11, then it is c2 = 121 ≥ 114, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 152 - 112

max_d = √454 - 1 - 225 - 121

max_d = √107

max_d = 10.344080432789

Since max_d = 10.344080432789 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 152 - 122

max_d = √454 - 1 - 225 - 144

max_d = √84

max_d = 9.1651513899117

Since max_d = 9.1651513899117 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 152 - 132

max_d = √454 - 1 - 225 - 169

max_d = √59

max_d = 7.6811457478686

Since max_d = 7.6811457478686 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 152 - 142

max_d = √454 - 1 - 225 - 196

max_d = √32

max_d = 5.6568542494924

Since max_d = 5.6568542494924 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 152 - 152

max_d = √454 - 1 - 225 - 225

max_d = √3

max_d = 1.7320508075689

Since max_d = 1.7320508075689 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 12 - 162)

max_c = Floor(√454 - 1 - 256)

max_c = Floor(√197)

max_c = Floor(14.035668847618)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 12 - 162)/2 = 98.5

When min_c = 10, then it is c2 = 100 ≥ 98.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 162 - 102

max_d = √454 - 1 - 256 - 100

max_d = √97

max_d = 9.8488578017961

Since max_d = 9.8488578017961 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 162 - 112

max_d = √454 - 1 - 256 - 121

max_d = √76

max_d = 8.7177978870813

Since max_d = 8.7177978870813 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 162 - 122

max_d = √454 - 1 - 256 - 144

max_d = √53

max_d = 7.2801098892805

Since max_d = 7.2801098892805 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 162 - 132

max_d = √454 - 1 - 256 - 169

max_d = √28

max_d = 5.2915026221292

Since max_d = 5.2915026221292 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 162 - 142

max_d = √454 - 1 - 256 - 196

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (1, 16, 14, 1) is an integer solution proven below

12 + 162 + 142 + 12 → 1 + 256 + 196 + 1 = 454

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 12 - 172)

max_c = Floor(√454 - 1 - 289)

max_c = Floor(√164)

max_c = Floor(12.806248474866)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 12 - 172)/2 = 82

When min_c = 10, then it is c2 = 100 ≥ 82, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 172 - 102

max_d = √454 - 1 - 289 - 100

max_d = √64

max_d = 8

Since max_d = 8, then (a, b, c, d) = (1, 17, 10, 8) is an integer solution proven below

12 + 172 + 102 + 82 → 1 + 289 + 100 + 64 = 454

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 172 - 112

max_d = √454 - 1 - 289 - 121

max_d = √43

max_d = 6.557438524302

Since max_d = 6.557438524302 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 172 - 122

max_d = √454 - 1 - 289 - 144

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 12 - 182)

max_c = Floor(√454 - 1 - 324)

max_c = Floor(√129)

max_c = Floor(11.357816691601)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 12 - 182)/2 = 64.5

When min_c = 9, then it is c2 = 81 ≥ 64.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 182 - 92

max_d = √454 - 1 - 324 - 81

max_d = √48

max_d = 6.9282032302755

Since max_d = 6.9282032302755 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 182 - 102

max_d = √454 - 1 - 324 - 100

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 182 - 112

max_d = √454 - 1 - 324 - 121

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 12 - 192)

max_c = Floor(√454 - 1 - 361)

max_c = Floor(√92)

max_c = Floor(9.5916630466254)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 12 - 192)/2 = 46

When min_c = 7, then it is c2 = 49 ≥ 46, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 192 - 72

max_d = √454 - 1 - 361 - 49

max_d = √43

max_d = 6.557438524302

Since max_d = 6.557438524302 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 192 - 82

max_d = √454 - 1 - 361 - 64

max_d = √28

max_d = 5.2915026221292

Since max_d = 5.2915026221292 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 192 - 92

max_d = √454 - 1 - 361 - 81

max_d = √11

max_d = 3.3166247903554

Since max_d = 3.3166247903554 is not an integer, this is not a solution

b = 20

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 12 - 202)

max_c = Floor(√454 - 1 - 400)

max_c = Floor(√53)

max_c = Floor(7.2801098892805)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 12 - 202)/2 = 26.5

When min_c = 6, then it is c2 = 36 ≥ 26.5, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 202 - 62

max_d = √454 - 1 - 400 - 36

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 202 - 72

max_d = √454 - 1 - 400 - 49

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (1, 20, 7, 2) is an integer solution proven below

12 + 202 + 72 + 22 → 1 + 400 + 49 + 4 = 454

b = 21

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 12 - 212)

max_c = Floor(√454 - 1 - 441)

max_c = Floor(√12)

max_c = Floor(3.4641016151378)

max_c = 3

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 12 - 212)/2 = 6

When min_c = 3, then it is c2 = 9 ≥ 6, so min_c = 3

c = 3

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 12 - 212 - 32

max_d = √454 - 1 - 441 - 9

max_d = √3

max_d = 1.7320508075689

Since max_d = 1.7320508075689 is not an integer, this is not a solution

a = 2

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 22)

max_b = Floor(√454 - 4)

max_b = Floor(√450)

max_b = Floor(21.213203435596)

max_b = 21

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 22)/3 = 150

When min_b = 13, then it is b2 = 169 ≥ 150, so min_b = 13

Test values for b in the range of (min_b, max_b)

(13, 21)

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 22 - 132)

max_c = Floor(√454 - 4 - 169)

max_c = Floor(√281)

max_c = Floor(16.76305461424)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 22 - 132)/2 = 140.5

When min_c = 12, then it is c2 = 144 ≥ 140.5, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 132 - 122

max_d = √454 - 4 - 169 - 144

max_d = √137

max_d = 11.70469991072

Since max_d = 11.70469991072 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 132 - 132

max_d = √454 - 4 - 169 - 169

max_d = √112

max_d = 10.583005244258

Since max_d = 10.583005244258 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 132 - 142

max_d = √454 - 4 - 169 - 196

max_d = √85

max_d = 9.2195444572929

Since max_d = 9.2195444572929 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 132 - 152

max_d = √454 - 4 - 169 - 225

max_d = √56

max_d = 7.4833147735479

Since max_d = 7.4833147735479 is not an integer, this is not a solution

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 132 - 162

max_d = √454 - 4 - 169 - 256

max_d = √25

max_d = 5

Since max_d = 5, then (a, b, c, d) = (2, 13, 16, 5) is an integer solution proven below

22 + 132 + 162 + 52 → 4 + 169 + 256 + 25 = 454

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 22 - 142)

max_c = Floor(√454 - 4 - 196)

max_c = Floor(√254)

max_c = Floor(15.937377450509)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 22 - 142)/2 = 127

When min_c = 12, then it is c2 = 144 ≥ 127, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 142 - 122

max_d = √454 - 4 - 196 - 144

max_d = √110

max_d = 10.488088481702

Since max_d = 10.488088481702 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 142 - 132

max_d = √454 - 4 - 196 - 169

max_d = √85

max_d = 9.2195444572929

Since max_d = 9.2195444572929 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 142 - 142

max_d = √454 - 4 - 196 - 196

max_d = √58

max_d = 7.6157731058639

Since max_d = 7.6157731058639 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 142 - 152

max_d = √454 - 4 - 196 - 225

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 22 - 152)

max_c = Floor(√454 - 4 - 225)

max_c = Floor(√225)

max_c = Floor(15)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 22 - 152)/2 = 112.5

When min_c = 11, then it is c2 = 121 ≥ 112.5, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 152 - 112

max_d = √454 - 4 - 225 - 121

max_d = √104

max_d = 10.198039027186

Since max_d = 10.198039027186 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 152 - 122

max_d = √454 - 4 - 225 - 144

max_d = √81

max_d = 9

Since max_d = 9, then (a, b, c, d) = (2, 15, 12, 9) is an integer solution proven below

22 + 152 + 122 + 92 → 4 + 225 + 144 + 81 = 454

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 152 - 132

max_d = √454 - 4 - 225 - 169

max_d = √56

max_d = 7.4833147735479

Since max_d = 7.4833147735479 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 152 - 142

max_d = √454 - 4 - 225 - 196

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 152 - 152

max_d = √454 - 4 - 225 - 225

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (2, 15, 15, 0) is an integer solution proven below

22 + 152 + 152 + 02 → 4 + 225 + 225 + 0 = 454

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 22 - 162)

max_c = Floor(√454 - 4 - 256)

max_c = Floor(√194)

max_c = Floor(13.928388277184)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 22 - 162)/2 = 97

When min_c = 10, then it is c2 = 100 ≥ 97, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 162 - 102

max_d = √454 - 4 - 256 - 100

max_d = √94

max_d = 9.6953597148327

Since max_d = 9.6953597148327 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 162 - 112

max_d = √454 - 4 - 256 - 121

max_d = √73

max_d = 8.5440037453175

Since max_d = 8.5440037453175 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 162 - 122

max_d = √454 - 4 - 256 - 144

max_d = √50

max_d = 7.0710678118655

Since max_d = 7.0710678118655 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 162 - 132

max_d = √454 - 4 - 256 - 169

max_d = √25

max_d = 5

Since max_d = 5, then (a, b, c, d) = (2, 16, 13, 5) is an integer solution proven below

22 + 162 + 132 + 52 → 4 + 256 + 169 + 25 = 454

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 22 - 172)

max_c = Floor(√454 - 4 - 289)

max_c = Floor(√161)

max_c = Floor(12.68857754045)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 22 - 172)/2 = 80.5

When min_c = 9, then it is c2 = 81 ≥ 80.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 172 - 92

max_d = √454 - 4 - 289 - 81

max_d = √80

max_d = 8.9442719099992

Since max_d = 8.9442719099992 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 172 - 102

max_d = √454 - 4 - 289 - 100

max_d = √61

max_d = 7.8102496759067

Since max_d = 7.8102496759067 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 172 - 112

max_d = √454 - 4 - 289 - 121

max_d = √40

max_d = 6.3245553203368

Since max_d = 6.3245553203368 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 172 - 122

max_d = √454 - 4 - 289 - 144

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 22 - 182)

max_c = Floor(√454 - 4 - 324)

max_c = Floor(√126)

max_c = Floor(11.224972160322)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 22 - 182)/2 = 63

When min_c = 8, then it is c2 = 64 ≥ 63, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 182 - 82

max_d = √454 - 4 - 324 - 64

max_d = √62

max_d = 7.8740078740118

Since max_d = 7.8740078740118 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 182 - 92

max_d = √454 - 4 - 324 - 81

max_d = √45

max_d = 6.7082039324994

Since max_d = 6.7082039324994 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 182 - 102

max_d = √454 - 4 - 324 - 100

max_d = √26

max_d = 5.0990195135928

Since max_d = 5.0990195135928 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 182 - 112

max_d = √454 - 4 - 324 - 121

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 22 - 192)

max_c = Floor(√454 - 4 - 361)

max_c = Floor(√89)

max_c = Floor(9.4339811320566)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 22 - 192)/2 = 44.5

When min_c = 7, then it is c2 = 49 ≥ 44.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 192 - 72

max_d = √454 - 4 - 361 - 49

max_d = √40

max_d = 6.3245553203368

Since max_d = 6.3245553203368 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 192 - 82

max_d = √454 - 4 - 361 - 64

max_d = √25

max_d = 5

Since max_d = 5, then (a, b, c, d) = (2, 19, 8, 5) is an integer solution proven below

22 + 192 + 82 + 52 → 4 + 361 + 64 + 25 = 454

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 192 - 92

max_d = √454 - 4 - 361 - 81

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 20

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 22 - 202)

max_c = Floor(√454 - 4 - 400)

max_c = Floor(√50)

max_c = Floor(7.0710678118655)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 22 - 202)/2 = 25

When min_c = 5, then it is c2 = 25 ≥ 25, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 202 - 52

max_d = √454 - 4 - 400 - 25

max_d = √25

max_d = 5

Since max_d = 5, then (a, b, c, d) = (2, 20, 5, 5) is an integer solution proven below

22 + 202 + 52 + 52 → 4 + 400 + 25 + 25 = 454

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 202 - 62

max_d = √454 - 4 - 400 - 36

max_d = √14

max_d = 3.7416573867739

Since max_d = 3.7416573867739 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 202 - 72

max_d = √454 - 4 - 400 - 49

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (2, 20, 7, 1) is an integer solution proven below

22 + 202 + 72 + 12 → 4 + 400 + 49 + 1 = 454

b = 21

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 22 - 212)

max_c = Floor(√454 - 4 - 441)

max_c = Floor(√9)

max_c = Floor(3)

max_c = 3

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 22 - 212)/2 = 4.5

When min_c = 3, then it is c2 = 9 ≥ 4.5, so min_c = 3

c = 3

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 22 - 212 - 32

max_d = √454 - 4 - 441 - 9

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (2, 21, 3, 0) is an integer solution proven below

22 + 212 + 32 + 02 → 4 + 441 + 9 + 0 = 454

a = 3

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 32)

max_b = Floor(√454 - 9)

max_b = Floor(√445)

max_b = Floor(21.095023109729)

max_b = 21

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 32)/3 = 148.33333333333

When min_b = 13, then it is b2 = 169 ≥ 148.33333333333, so min_b = 13

Test values for b in the range of (min_b, max_b)

(13, 21)

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 32 - 132)

max_c = Floor(√454 - 9 - 169)

max_c = Floor(√276)

max_c = Floor(16.613247725836)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 32 - 132)/2 = 138

When min_c = 12, then it is c2 = 144 ≥ 138, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 132 - 122

max_d = √454 - 9 - 169 - 144

max_d = √132

max_d = 11.489125293076

Since max_d = 11.489125293076 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 132 - 132

max_d = √454 - 9 - 169 - 169

max_d = √107

max_d = 10.344080432789

Since max_d = 10.344080432789 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 132 - 142

max_d = √454 - 9 - 169 - 196

max_d = √80

max_d = 8.9442719099992

Since max_d = 8.9442719099992 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 132 - 152

max_d = √454 - 9 - 169 - 225

max_d = √51

max_d = 7.1414284285429

Since max_d = 7.1414284285429 is not an integer, this is not a solution

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 132 - 162

max_d = √454 - 9 - 169 - 256

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 32 - 142)

max_c = Floor(√454 - 9 - 196)

max_c = Floor(√249)

max_c = Floor(15.779733838059)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 32 - 142)/2 = 124.5

When min_c = 12, then it is c2 = 144 ≥ 124.5, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 142 - 122

max_d = √454 - 9 - 196 - 144

max_d = √105

max_d = 10.24695076596

Since max_d = 10.24695076596 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 142 - 132

max_d = √454 - 9 - 196 - 169

max_d = √80

max_d = 8.9442719099992

Since max_d = 8.9442719099992 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 142 - 142

max_d = √454 - 9 - 196 - 196

max_d = √53

max_d = 7.2801098892805

Since max_d = 7.2801098892805 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 142 - 152

max_d = √454 - 9 - 196 - 225

max_d = √24

max_d = 4.8989794855664

Since max_d = 4.8989794855664 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 32 - 152)

max_c = Floor(√454 - 9 - 225)

max_c = Floor(√220)

max_c = Floor(14.832396974191)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 32 - 152)/2 = 110

When min_c = 11, then it is c2 = 121 ≥ 110, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 152 - 112

max_d = √454 - 9 - 225 - 121

max_d = √99

max_d = 9.9498743710662

Since max_d = 9.9498743710662 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 152 - 122

max_d = √454 - 9 - 225 - 144

max_d = √76

max_d = 8.7177978870813

Since max_d = 8.7177978870813 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 152 - 132

max_d = √454 - 9 - 225 - 169

max_d = √51

max_d = 7.1414284285429

Since max_d = 7.1414284285429 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 152 - 142

max_d = √454 - 9 - 225 - 196

max_d = √24

max_d = 4.8989794855664

Since max_d = 4.8989794855664 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 32 - 162)

max_c = Floor(√454 - 9 - 256)

max_c = Floor(√189)

max_c = Floor(13.747727084868)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 32 - 162)/2 = 94.5

When min_c = 10, then it is c2 = 100 ≥ 94.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 162 - 102

max_d = √454 - 9 - 256 - 100

max_d = √89

max_d = 9.4339811320566

Since max_d = 9.4339811320566 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 162 - 112

max_d = √454 - 9 - 256 - 121

max_d = √68

max_d = 8.2462112512353

Since max_d = 8.2462112512353 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 162 - 122

max_d = √454 - 9 - 256 - 144

max_d = √45

max_d = 6.7082039324994

Since max_d = 6.7082039324994 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 162 - 132

max_d = √454 - 9 - 256 - 169

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 32 - 172)

max_c = Floor(√454 - 9 - 289)

max_c = Floor(√156)

max_c = Floor(12.489995996797)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 32 - 172)/2 = 78

When min_c = 9, then it is c2 = 81 ≥ 78, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 172 - 92

max_d = √454 - 9 - 289 - 81

max_d = √75

max_d = 8.6602540378444

Since max_d = 8.6602540378444 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 172 - 102

max_d = √454 - 9 - 289 - 100

max_d = √56

max_d = 7.4833147735479

Since max_d = 7.4833147735479 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 172 - 112

max_d = √454 - 9 - 289 - 121

max_d = √35

max_d = 5.9160797830996

Since max_d = 5.9160797830996 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 172 - 122

max_d = √454 - 9 - 289 - 144

max_d = √12

max_d = 3.4641016151378

Since max_d = 3.4641016151378 is not an integer, this is not a solution

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 32 - 182)

max_c = Floor(√454 - 9 - 324)

max_c = Floor(√121)

max_c = Floor(11)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 32 - 182)/2 = 60.5

When min_c = 8, then it is c2 = 64 ≥ 60.5, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 182 - 82

max_d = √454 - 9 - 324 - 64

max_d = √57

max_d = 7.5498344352707

Since max_d = 7.5498344352707 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 182 - 92

max_d = √454 - 9 - 324 - 81

max_d = √40

max_d = 6.3245553203368

Since max_d = 6.3245553203368 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 182 - 102

max_d = √454 - 9 - 324 - 100

max_d = √21

max_d = 4.5825756949558

Since max_d = 4.5825756949558 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 182 - 112

max_d = √454 - 9 - 324 - 121

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (3, 18, 11, 0) is an integer solution proven below

32 + 182 + 112 + 02 → 9 + 324 + 121 + 0 = 454

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 32 - 192)

max_c = Floor(√454 - 9 - 361)

max_c = Floor(√84)

max_c = Floor(9.1651513899117)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 32 - 192)/2 = 42

When min_c = 7, then it is c2 = 49 ≥ 42, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 192 - 72

max_d = √454 - 9 - 361 - 49

max_d = √35

max_d = 5.9160797830996

Since max_d = 5.9160797830996 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 192 - 82

max_d = √454 - 9 - 361 - 64

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 192 - 92

max_d = √454 - 9 - 361 - 81

max_d = √3

max_d = 1.7320508075689

Since max_d = 1.7320508075689 is not an integer, this is not a solution

b = 20

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 32 - 202)

max_c = Floor(√454 - 9 - 400)

max_c = Floor(√45)

max_c = Floor(6.7082039324994)

max_c = 6

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 32 - 202)/2 = 22.5

When min_c = 5, then it is c2 = 25 ≥ 22.5, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 202 - 52

max_d = √454 - 9 - 400 - 25

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 202 - 62

max_d = √454 - 9 - 400 - 36

max_d = √9

max_d = 3

Since max_d = 3, then (a, b, c, d) = (3, 20, 6, 3) is an integer solution proven below

32 + 202 + 62 + 32 → 9 + 400 + 36 + 9 = 454

b = 21

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 32 - 212)

max_c = Floor(√454 - 9 - 441)

max_c = Floor(√4)

max_c = Floor(2)

max_c = 2

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 32 - 212)/2 = 2

When min_c = 2, then it is c2 = 4 ≥ 2, so min_c = 2

c = 2

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 32 - 212 - 22

max_d = √454 - 9 - 441 - 4

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (3, 21, 2, 0) is an integer solution proven below

32 + 212 + 22 + 02 → 9 + 441 + 4 + 0 = 454

a = 4

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 42)

max_b = Floor(√454 - 16)

max_b = Floor(√438)

max_b = Floor(20.928449536456)

max_b = 20

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 42)/3 = 146

When min_b = 13, then it is b2 = 169 ≥ 146, so min_b = 13

Test values for b in the range of (min_b, max_b)

(13, 20)

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 42 - 132)

max_c = Floor(√454 - 16 - 169)

max_c = Floor(√269)

max_c = Floor(16.401219466857)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 42 - 132)/2 = 134.5

When min_c = 12, then it is c2 = 144 ≥ 134.5, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 132 - 122

max_d = √454 - 16 - 169 - 144

max_d = √125

max_d = 11.180339887499

Since max_d = 11.180339887499 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 132 - 132

max_d = √454 - 16 - 169 - 169

max_d = √100

max_d = 10

Since max_d = 10, then (a, b, c, d) = (4, 13, 13, 10) is an integer solution proven below

42 + 132 + 132 + 102 → 16 + 169 + 169 + 100 = 454

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 132 - 142

max_d = √454 - 16 - 169 - 196

max_d = √73

max_d = 8.5440037453175

Since max_d = 8.5440037453175 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 132 - 152

max_d = √454 - 16 - 169 - 225

max_d = √44

max_d = 6.6332495807108

Since max_d = 6.6332495807108 is not an integer, this is not a solution

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 132 - 162

max_d = √454 - 16 - 169 - 256

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 42 - 142)

max_c = Floor(√454 - 16 - 196)

max_c = Floor(√242)

max_c = Floor(15.556349186104)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 42 - 142)/2 = 121

When min_c = 11, then it is c2 = 121 ≥ 121, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 142 - 112

max_d = √454 - 16 - 196 - 121

max_d = √121

max_d = 11

Since max_d = 11, then (a, b, c, d) = (4, 14, 11, 11) is an integer solution proven below

42 + 142 + 112 + 112 → 16 + 196 + 121 + 121 = 454

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 142 - 122

max_d = √454 - 16 - 196 - 144

max_d = √98

max_d = 9.8994949366117

Since max_d = 9.8994949366117 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 142 - 132

max_d = √454 - 16 - 196 - 169

max_d = √73

max_d = 8.5440037453175

Since max_d = 8.5440037453175 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 142 - 142

max_d = √454 - 16 - 196 - 196

max_d = √46

max_d = 6.7823299831253

Since max_d = 6.7823299831253 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 142 - 152

max_d = √454 - 16 - 196 - 225

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 42 - 152)

max_c = Floor(√454 - 16 - 225)

max_c = Floor(√213)

max_c = Floor(14.594519519326)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 42 - 152)/2 = 106.5

When min_c = 11, then it is c2 = 121 ≥ 106.5, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 152 - 112

max_d = √454 - 16 - 225 - 121

max_d = √92

max_d = 9.5916630466254

Since max_d = 9.5916630466254 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 152 - 122

max_d = √454 - 16 - 225 - 144

max_d = √69

max_d = 8.3066238629181

Since max_d = 8.3066238629181 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 152 - 132

max_d = √454 - 16 - 225 - 169

max_d = √44

max_d = 6.6332495807108

Since max_d = 6.6332495807108 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 152 - 142

max_d = √454 - 16 - 225 - 196

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 42 - 162)

max_c = Floor(√454 - 16 - 256)

max_c = Floor(√182)

max_c = Floor(13.490737563232)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 42 - 162)/2 = 91

When min_c = 10, then it is c2 = 100 ≥ 91, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 162 - 102

max_d = √454 - 16 - 256 - 100

max_d = √82

max_d = 9.0553851381374

Since max_d = 9.0553851381374 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 162 - 112

max_d = √454 - 16 - 256 - 121

max_d = √61

max_d = 7.8102496759067

Since max_d = 7.8102496759067 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 162 - 122

max_d = √454 - 16 - 256 - 144

max_d = √38

max_d = 6.164414002969

Since max_d = 6.164414002969 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 162 - 132

max_d = √454 - 16 - 256 - 169

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 42 - 172)

max_c = Floor(√454 - 16 - 289)

max_c = Floor(√149)

max_c = Floor(12.206555615734)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 42 - 172)/2 = 74.5

When min_c = 9, then it is c2 = 81 ≥ 74.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 172 - 92

max_d = √454 - 16 - 289 - 81

max_d = √68

max_d = 8.2462112512353

Since max_d = 8.2462112512353 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 172 - 102

max_d = √454 - 16 - 289 - 100

max_d = √49

max_d = 7

Since max_d = 7, then (a, b, c, d) = (4, 17, 10, 7) is an integer solution proven below

42 + 172 + 102 + 72 → 16 + 289 + 100 + 49 = 454

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 172 - 112

max_d = √454 - 16 - 289 - 121

max_d = √28

max_d = 5.2915026221292

Since max_d = 5.2915026221292 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 172 - 122

max_d = √454 - 16 - 289 - 144

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 42 - 182)

max_c = Floor(√454 - 16 - 324)

max_c = Floor(√114)

max_c = Floor(10.677078252031)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 42 - 182)/2 = 57

When min_c = 8, then it is c2 = 64 ≥ 57, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 182 - 82

max_d = √454 - 16 - 324 - 64

max_d = √50

max_d = 7.0710678118655

Since max_d = 7.0710678118655 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 182 - 92

max_d = √454 - 16 - 324 - 81

max_d = √33

max_d = 5.744562646538

Since max_d = 5.744562646538 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 182 - 102

max_d = √454 - 16 - 324 - 100

max_d = √14

max_d = 3.7416573867739

Since max_d = 3.7416573867739 is not an integer, this is not a solution

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 42 - 192)

max_c = Floor(√454 - 16 - 361)

max_c = Floor(√77)

max_c = Floor(8.7749643873921)

max_c = 8

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 42 - 192)/2 = 38.5

When min_c = 7, then it is c2 = 49 ≥ 38.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 192 - 72

max_d = √454 - 16 - 361 - 49

max_d = √28

max_d = 5.2915026221292

Since max_d = 5.2915026221292 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 192 - 82

max_d = √454 - 16 - 361 - 64

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

b = 20

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 42 - 202)

max_c = Floor(√454 - 16 - 400)

max_c = Floor(√38)

max_c = Floor(6.164414002969)

max_c = 6

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 42 - 202)/2 = 19

When min_c = 5, then it is c2 = 25 ≥ 19, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 202 - 52

max_d = √454 - 16 - 400 - 25

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 42 - 202 - 62

max_d = √454 - 16 - 400 - 36

max_d = √2

max_d = 1.4142135623731

Since max_d = 1.4142135623731 is not an integer, this is not a solution

a = 5

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 52)

max_b = Floor(√454 - 25)

max_b = Floor(√429)

max_b = Floor(20.712315177208)

max_b = 20

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 52)/3 = 143

When min_b = 12, then it is b2 = 144 ≥ 143, so min_b = 12

Test values for b in the range of (min_b, max_b)

(12, 20)

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 52 - 122)

max_c = Floor(√454 - 25 - 144)

max_c = Floor(√285)

max_c = Floor(16.881943016134)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 52 - 122)/2 = 142.5

When min_c = 12, then it is c2 = 144 ≥ 142.5, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 122 - 122

max_d = √454 - 25 - 144 - 144

max_d = √141

max_d = 11.874342087038

Since max_d = 11.874342087038 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 122 - 132

max_d = √454 - 25 - 144 - 169

max_d = √116

max_d = 10.770329614269

Since max_d = 10.770329614269 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 122 - 142

max_d = √454 - 25 - 144 - 196

max_d = √89

max_d = 9.4339811320566

Since max_d = 9.4339811320566 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 122 - 152

max_d = √454 - 25 - 144 - 225

max_d = √60

max_d = 7.7459666924148

Since max_d = 7.7459666924148 is not an integer, this is not a solution

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 122 - 162

max_d = √454 - 25 - 144 - 256

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 52 - 132)

max_c = Floor(√454 - 25 - 169)

max_c = Floor(√260)

max_c = Floor(16.124515496597)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 52 - 132)/2 = 130

When min_c = 12, then it is c2 = 144 ≥ 130, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 132 - 122

max_d = √454 - 25 - 169 - 144

max_d = √116

max_d = 10.770329614269

Since max_d = 10.770329614269 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 132 - 132

max_d = √454 - 25 - 169 - 169

max_d = √91

max_d = 9.5393920141695

Since max_d = 9.5393920141695 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 132 - 142

max_d = √454 - 25 - 169 - 196

max_d = √64

max_d = 8

Since max_d = 8, then (a, b, c, d) = (5, 13, 14, 8) is an integer solution proven below

52 + 132 + 142 + 82 → 25 + 169 + 196 + 64 = 454

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 132 - 152

max_d = √454 - 25 - 169 - 225

max_d = √35

max_d = 5.9160797830996

Since max_d = 5.9160797830996 is not an integer, this is not a solution

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 132 - 162

max_d = √454 - 25 - 169 - 256

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (5, 13, 16, 2) is an integer solution proven below

52 + 132 + 162 + 22 → 25 + 169 + 256 + 4 = 454

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 52 - 142)

max_c = Floor(√454 - 25 - 196)

max_c = Floor(√233)

max_c = Floor(15.264337522474)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 52 - 142)/2 = 116.5

When min_c = 11, then it is c2 = 121 ≥ 116.5, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 142 - 112

max_d = √454 - 25 - 196 - 121

max_d = √112

max_d = 10.583005244258

Since max_d = 10.583005244258 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 142 - 122

max_d = √454 - 25 - 196 - 144

max_d = √89

max_d = 9.4339811320566

Since max_d = 9.4339811320566 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 142 - 132

max_d = √454 - 25 - 196 - 169

max_d = √64

max_d = 8

Since max_d = 8, then (a, b, c, d) = (5, 14, 13, 8) is an integer solution proven below

52 + 142 + 132 + 82 → 25 + 196 + 169 + 64 = 454

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 142 - 142

max_d = √454 - 25 - 196 - 196

max_d = √37

max_d = 6.0827625302982

Since max_d = 6.0827625302982 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 142 - 152

max_d = √454 - 25 - 196 - 225

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 52 - 152)

max_c = Floor(√454 - 25 - 225)

max_c = Floor(√204)

max_c = Floor(14.282856857086)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 52 - 152)/2 = 102

When min_c = 11, then it is c2 = 121 ≥ 102, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 152 - 112

max_d = √454 - 25 - 225 - 121

max_d = √83

max_d = 9.1104335791443

Since max_d = 9.1104335791443 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 152 - 122

max_d = √454 - 25 - 225 - 144

max_d = √60

max_d = 7.7459666924148

Since max_d = 7.7459666924148 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 152 - 132

max_d = √454 - 25 - 225 - 169

max_d = √35

max_d = 5.9160797830996

Since max_d = 5.9160797830996 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 152 - 142

max_d = √454 - 25 - 225 - 196

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 52 - 162)

max_c = Floor(√454 - 25 - 256)

max_c = Floor(√173)

max_c = Floor(13.152946437966)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 52 - 162)/2 = 86.5

When min_c = 10, then it is c2 = 100 ≥ 86.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 162 - 102

max_d = √454 - 25 - 256 - 100

max_d = √73

max_d = 8.5440037453175

Since max_d = 8.5440037453175 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 162 - 112

max_d = √454 - 25 - 256 - 121

max_d = √52

max_d = 7.211102550928

Since max_d = 7.211102550928 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 162 - 122

max_d = √454 - 25 - 256 - 144

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 162 - 132

max_d = √454 - 25 - 256 - 169

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (5, 16, 13, 2) is an integer solution proven below

52 + 162 + 132 + 22 → 25 + 256 + 169 + 4 = 454

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 52 - 172)

max_c = Floor(√454 - 25 - 289)

max_c = Floor(√140)

max_c = Floor(11.832159566199)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 52 - 172)/2 = 70

When min_c = 9, then it is c2 = 81 ≥ 70, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 172 - 92

max_d = √454 - 25 - 289 - 81

max_d = √59

max_d = 7.6811457478686

Since max_d = 7.6811457478686 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 172 - 102

max_d = √454 - 25 - 289 - 100

max_d = √40

max_d = 6.3245553203368

Since max_d = 6.3245553203368 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 172 - 112

max_d = √454 - 25 - 289 - 121

max_d = √19

max_d = 4.3588989435407

Since max_d = 4.3588989435407 is not an integer, this is not a solution

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 52 - 182)

max_c = Floor(√454 - 25 - 324)

max_c = Floor(√105)

max_c = Floor(10.24695076596)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 52 - 182)/2 = 52.5

When min_c = 8, then it is c2 = 64 ≥ 52.5, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 182 - 82

max_d = √454 - 25 - 324 - 64

max_d = √41

max_d = 6.4031242374328

Since max_d = 6.4031242374328 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 182 - 92

max_d = √454 - 25 - 324 - 81

max_d = √24

max_d = 4.8989794855664

Since max_d = 4.8989794855664 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 182 - 102

max_d = √454 - 25 - 324 - 100

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 52 - 192)

max_c = Floor(√454 - 25 - 361)

max_c = Floor(√68)

max_c = Floor(8.2462112512353)

max_c = 8

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 52 - 192)/2 = 34

When min_c = 6, then it is c2 = 36 ≥ 34, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 192 - 62

max_d = √454 - 25 - 361 - 36

max_d = √32

max_d = 5.6568542494924

Since max_d = 5.6568542494924 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 192 - 72

max_d = √454 - 25 - 361 - 49

max_d = √19

max_d = 4.3588989435407

Since max_d = 4.3588989435407 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 192 - 82

max_d = √454 - 25 - 361 - 64

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (5, 19, 8, 2) is an integer solution proven below

52 + 192 + 82 + 22 → 25 + 361 + 64 + 4 = 454

b = 20

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 52 - 202)

max_c = Floor(√454 - 25 - 400)

max_c = Floor(√29)

max_c = Floor(5.3851648071345)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 52 - 202)/2 = 14.5

When min_c = 4, then it is c2 = 16 ≥ 14.5, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 202 - 42

max_d = √454 - 25 - 400 - 16

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 52 - 202 - 52

max_d = √454 - 25 - 400 - 25

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (5, 20, 5, 2) is an integer solution proven below

52 + 202 + 52 + 22 → 25 + 400 + 25 + 4 = 454

a = 6

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 62)

max_b = Floor(√454 - 36)

max_b = Floor(√418)

max_b = Floor(20.445048300261)

max_b = 20

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 62)/3 = 139.33333333333

When min_b = 12, then it is b2 = 144 ≥ 139.33333333333, so min_b = 12

Test values for b in the range of (min_b, max_b)

(12, 20)

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 62 - 122)

max_c = Floor(√454 - 36 - 144)

max_c = Floor(√274)

max_c = Floor(16.552945357247)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 62 - 122)/2 = 137

When min_c = 12, then it is c2 = 144 ≥ 137, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 122 - 122

max_d = √454 - 36 - 144 - 144

max_d = √130

max_d = 11.401754250991

Since max_d = 11.401754250991 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 122 - 132

max_d = √454 - 36 - 144 - 169

max_d = √105

max_d = 10.24695076596

Since max_d = 10.24695076596 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 122 - 142

max_d = √454 - 36 - 144 - 196

max_d = √78

max_d = 8.8317608663278

Since max_d = 8.8317608663278 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 122 - 152

max_d = √454 - 36 - 144 - 225

max_d = √49

max_d = 7

Since max_d = 7, then (a, b, c, d) = (6, 12, 15, 7) is an integer solution proven below

62 + 122 + 152 + 72 → 36 + 144 + 225 + 49 = 454

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 122 - 162

max_d = √454 - 36 - 144 - 256

max_d = √18

max_d = 4.2426406871193

Since max_d = 4.2426406871193 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 62 - 132)

max_c = Floor(√454 - 36 - 169)

max_c = Floor(√249)

max_c = Floor(15.779733838059)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 62 - 132)/2 = 124.5

When min_c = 12, then it is c2 = 144 ≥ 124.5, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 132 - 122

max_d = √454 - 36 - 169 - 144

max_d = √105

max_d = 10.24695076596

Since max_d = 10.24695076596 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 132 - 132

max_d = √454 - 36 - 169 - 169

max_d = √80

max_d = 8.9442719099992

Since max_d = 8.9442719099992 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 132 - 142

max_d = √454 - 36 - 169 - 196

max_d = √53

max_d = 7.2801098892805

Since max_d = 7.2801098892805 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 132 - 152

max_d = √454 - 36 - 169 - 225

max_d = √24

max_d = 4.8989794855664

Since max_d = 4.8989794855664 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 62 - 142)

max_c = Floor(√454 - 36 - 196)

max_c = Floor(√222)

max_c = Floor(14.899664425751)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 62 - 142)/2 = 111

When min_c = 11, then it is c2 = 121 ≥ 111, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 142 - 112

max_d = √454 - 36 - 196 - 121

max_d = √101

max_d = 10.049875621121

Since max_d = 10.049875621121 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 142 - 122

max_d = √454 - 36 - 196 - 144

max_d = √78

max_d = 8.8317608663278

Since max_d = 8.8317608663278 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 142 - 132

max_d = √454 - 36 - 196 - 169

max_d = √53

max_d = 7.2801098892805

Since max_d = 7.2801098892805 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 142 - 142

max_d = √454 - 36 - 196 - 196

max_d = √26

max_d = 5.0990195135928

Since max_d = 5.0990195135928 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 62 - 152)

max_c = Floor(√454 - 36 - 225)

max_c = Floor(√193)

max_c = Floor(13.89244398945)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 62 - 152)/2 = 96.5

When min_c = 10, then it is c2 = 100 ≥ 96.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 152 - 102

max_d = √454 - 36 - 225 - 100

max_d = √93

max_d = 9.643650760993

Since max_d = 9.643650760993 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 152 - 112

max_d = √454 - 36 - 225 - 121

max_d = √72

max_d = 8.4852813742386

Since max_d = 8.4852813742386 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 152 - 122

max_d = √454 - 36 - 225 - 144

max_d = √49

max_d = 7

Since max_d = 7, then (a, b, c, d) = (6, 15, 12, 7) is an integer solution proven below

62 + 152 + 122 + 72 → 36 + 225 + 144 + 49 = 454

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 152 - 132

max_d = √454 - 36 - 225 - 169

max_d = √24

max_d = 4.8989794855664

Since max_d = 4.8989794855664 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 62 - 162)

max_c = Floor(√454 - 36 - 256)

max_c = Floor(√162)

max_c = Floor(12.727922061358)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 62 - 162)/2 = 81

When min_c = 9, then it is c2 = 81 ≥ 81, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 162 - 92

max_d = √454 - 36 - 256 - 81

max_d = √81

max_d = 9

Since max_d = 9, then (a, b, c, d) = (6, 16, 9, 9) is an integer solution proven below

62 + 162 + 92 + 92 → 36 + 256 + 81 + 81 = 454

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 162 - 102

max_d = √454 - 36 - 256 - 100

max_d = √62

max_d = 7.8740078740118

Since max_d = 7.8740078740118 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 162 - 112

max_d = √454 - 36 - 256 - 121

max_d = √41

max_d = 6.4031242374328

Since max_d = 6.4031242374328 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 162 - 122

max_d = √454 - 36 - 256 - 144

max_d = √18

max_d = 4.2426406871193

Since max_d = 4.2426406871193 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 62 - 172)

max_c = Floor(√454 - 36 - 289)

max_c = Floor(√129)

max_c = Floor(11.357816691601)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 62 - 172)/2 = 64.5

When min_c = 9, then it is c2 = 81 ≥ 64.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 172 - 92

max_d = √454 - 36 - 289 - 81

max_d = √48

max_d = 6.9282032302755

Since max_d = 6.9282032302755 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 172 - 102

max_d = √454 - 36 - 289 - 100

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 172 - 112

max_d = √454 - 36 - 289 - 121

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 62 - 182)

max_c = Floor(√454 - 36 - 324)

max_c = Floor(√94)

max_c = Floor(9.6953597148327)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 62 - 182)/2 = 47

When min_c = 7, then it is c2 = 49 ≥ 47, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 182 - 72

max_d = √454 - 36 - 324 - 49

max_d = √45

max_d = 6.7082039324994

Since max_d = 6.7082039324994 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 182 - 82

max_d = √454 - 36 - 324 - 64

max_d = √30

max_d = 5.4772255750517

Since max_d = 5.4772255750517 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 182 - 92

max_d = √454 - 36 - 324 - 81

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 62 - 192)

max_c = Floor(√454 - 36 - 361)

max_c = Floor(√57)

max_c = Floor(7.5498344352707)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 62 - 192)/2 = 28.5

When min_c = 6, then it is c2 = 36 ≥ 28.5, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 192 - 62

max_d = √454 - 36 - 361 - 36

max_d = √21

max_d = 4.5825756949558

Since max_d = 4.5825756949558 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 192 - 72

max_d = √454 - 36 - 361 - 49

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 20

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 62 - 202)

max_c = Floor(√454 - 36 - 400)

max_c = Floor(√18)

max_c = Floor(4.2426406871193)

max_c = 4

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 62 - 202)/2 = 9

When min_c = 3, then it is c2 = 9 ≥ 9, so min_c = 3

c = 3

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 202 - 32

max_d = √454 - 36 - 400 - 9

max_d = √9

max_d = 3

Since max_d = 3, then (a, b, c, d) = (6, 20, 3, 3) is an integer solution proven below

62 + 202 + 32 + 32 → 36 + 400 + 9 + 9 = 454

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 62 - 202 - 42

max_d = √454 - 36 - 400 - 16

max_d = √2

max_d = 1.4142135623731

Since max_d = 1.4142135623731 is not an integer, this is not a solution

a = 7

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 72)

max_b = Floor(√454 - 49)

max_b = Floor(√405)

max_b = Floor(20.124611797498)

max_b = 20

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 72)/3 = 135

When min_b = 12, then it is b2 = 144 ≥ 135, so min_b = 12

Test values for b in the range of (min_b, max_b)

(12, 20)

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 72 - 122)

max_c = Floor(√454 - 49 - 144)

max_c = Floor(√261)

max_c = Floor(16.155494421404)

max_c = 16

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 72 - 122)/2 = 130.5

When min_c = 12, then it is c2 = 144 ≥ 130.5, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 122 - 122

max_d = √454 - 49 - 144 - 144

max_d = √117

max_d = 10.816653826392

Since max_d = 10.816653826392 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 122 - 132

max_d = √454 - 49 - 144 - 169

max_d = √92

max_d = 9.5916630466254

Since max_d = 9.5916630466254 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 122 - 142

max_d = √454 - 49 - 144 - 196

max_d = √65

max_d = 8.0622577482985

Since max_d = 8.0622577482985 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 122 - 152

max_d = √454 - 49 - 144 - 225

max_d = √36

max_d = 6

Since max_d = 6, then (a, b, c, d) = (7, 12, 15, 6) is an integer solution proven below

72 + 122 + 152 + 62 → 49 + 144 + 225 + 36 = 454

c = 16

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 122 - 162

max_d = √454 - 49 - 144 - 256

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 72 - 132)

max_c = Floor(√454 - 49 - 169)

max_c = Floor(√236)

max_c = Floor(15.362291495737)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 72 - 132)/2 = 118

When min_c = 11, then it is c2 = 121 ≥ 118, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 132 - 112

max_d = √454 - 49 - 169 - 121

max_d = √115

max_d = 10.723805294764

Since max_d = 10.723805294764 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 132 - 122

max_d = √454 - 49 - 169 - 144

max_d = √92

max_d = 9.5916630466254

Since max_d = 9.5916630466254 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 132 - 132

max_d = √454 - 49 - 169 - 169

max_d = √67

max_d = 8.1853527718725

Since max_d = 8.1853527718725 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 132 - 142

max_d = √454 - 49 - 169 - 196

max_d = √40

max_d = 6.3245553203368

Since max_d = 6.3245553203368 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 132 - 152

max_d = √454 - 49 - 169 - 225

max_d = √11

max_d = 3.3166247903554

Since max_d = 3.3166247903554 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 72 - 142)

max_c = Floor(√454 - 49 - 196)

max_c = Floor(√209)

max_c = Floor(14.456832294801)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 72 - 142)/2 = 104.5

When min_c = 11, then it is c2 = 121 ≥ 104.5, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 142 - 112

max_d = √454 - 49 - 196 - 121

max_d = √88

max_d = 9.3808315196469

Since max_d = 9.3808315196469 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 142 - 122

max_d = √454 - 49 - 196 - 144

max_d = √65

max_d = 8.0622577482985

Since max_d = 8.0622577482985 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 142 - 132

max_d = √454 - 49 - 196 - 169

max_d = √40

max_d = 6.3245553203368

Since max_d = 6.3245553203368 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 142 - 142

max_d = √454 - 49 - 196 - 196

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 72 - 152)

max_c = Floor(√454 - 49 - 225)

max_c = Floor(√180)

max_c = Floor(13.416407864999)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 72 - 152)/2 = 90

When min_c = 10, then it is c2 = 100 ≥ 90, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 152 - 102

max_d = √454 - 49 - 225 - 100

max_d = √80

max_d = 8.9442719099992

Since max_d = 8.9442719099992 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 152 - 112

max_d = √454 - 49 - 225 - 121

max_d = √59

max_d = 7.6811457478686

Since max_d = 7.6811457478686 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 152 - 122

max_d = √454 - 49 - 225 - 144

max_d = √36

max_d = 6

Since max_d = 6, then (a, b, c, d) = (7, 15, 12, 6) is an integer solution proven below

72 + 152 + 122 + 62 → 49 + 225 + 144 + 36 = 454

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 152 - 132

max_d = √454 - 49 - 225 - 169

max_d = √11

max_d = 3.3166247903554

Since max_d = 3.3166247903554 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 72 - 162)

max_c = Floor(√454 - 49 - 256)

max_c = Floor(√149)

max_c = Floor(12.206555615734)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 72 - 162)/2 = 74.5

When min_c = 9, then it is c2 = 81 ≥ 74.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 162 - 92

max_d = √454 - 49 - 256 - 81

max_d = √68

max_d = 8.2462112512353

Since max_d = 8.2462112512353 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 162 - 102

max_d = √454 - 49 - 256 - 100

max_d = √49

max_d = 7

Since max_d = 7, then (a, b, c, d) = (7, 16, 10, 7) is an integer solution proven below

72 + 162 + 102 + 72 → 49 + 256 + 100 + 49 = 454

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 162 - 112

max_d = √454 - 49 - 256 - 121

max_d = √28

max_d = 5.2915026221292

Since max_d = 5.2915026221292 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 162 - 122

max_d = √454 - 49 - 256 - 144

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 72 - 172)

max_c = Floor(√454 - 49 - 289)

max_c = Floor(√116)

max_c = Floor(10.770329614269)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 72 - 172)/2 = 58

When min_c = 8, then it is c2 = 64 ≥ 58, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 172 - 82

max_d = √454 - 49 - 289 - 64

max_d = √52

max_d = 7.211102550928

Since max_d = 7.211102550928 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 172 - 92

max_d = √454 - 49 - 289 - 81

max_d = √35

max_d = 5.9160797830996

Since max_d = 5.9160797830996 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 172 - 102

max_d = √454 - 49 - 289 - 100

max_d = √16

max_d = 4

Since max_d = 4, then (a, b, c, d) = (7, 17, 10, 4) is an integer solution proven below

72 + 172 + 102 + 42 → 49 + 289 + 100 + 16 = 454

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 72 - 182)

max_c = Floor(√454 - 49 - 324)

max_c = Floor(√81)

max_c = Floor(9)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 72 - 182)/2 = 40.5

When min_c = 7, then it is c2 = 49 ≥ 40.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 182 - 72

max_d = √454 - 49 - 324 - 49

max_d = √32

max_d = 5.6568542494924

Since max_d = 5.6568542494924 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 182 - 82

max_d = √454 - 49 - 324 - 64

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 182 - 92

max_d = √454 - 49 - 324 - 81

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (7, 18, 9, 0) is an integer solution proven below

72 + 182 + 92 + 02 → 49 + 324 + 81 + 0 = 454

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 72 - 192)

max_c = Floor(√454 - 49 - 361)

max_c = Floor(√44)

max_c = Floor(6.6332495807108)

max_c = 6

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 72 - 192)/2 = 22

When min_c = 5, then it is c2 = 25 ≥ 22, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 192 - 52

max_d = √454 - 49 - 361 - 25

max_d = √19

max_d = 4.3588989435407

Since max_d = 4.3588989435407 is not an integer, this is not a solution

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 192 - 62

max_d = √454 - 49 - 361 - 36

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 20

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 72 - 202)

max_c = Floor(√454 - 49 - 400)

max_c = Floor(√5)

max_c = Floor(2.2360679774998)

max_c = 2

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 72 - 202)/2 = 2.5

When min_c = 2, then it is c2 = 4 ≥ 2.5, so min_c = 2

c = 2

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 72 - 202 - 22

max_d = √454 - 49 - 400 - 4

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (7, 20, 2, 1) is an integer solution proven below

72 + 202 + 22 + 12 → 49 + 400 + 4 + 1 = 454

a = 8

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 82)

max_b = Floor(√454 - 64)

max_b = Floor(√390)

max_b = Floor(19.748417658131)

max_b = 19

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 82)/3 = 130

When min_b = 12, then it is b2 = 144 ≥ 130, so min_b = 12

Test values for b in the range of (min_b, max_b)

(12, 19)

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 82 - 122)

max_c = Floor(√454 - 64 - 144)

max_c = Floor(√246)

max_c = Floor(15.684387141358)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 82 - 122)/2 = 123

When min_c = 12, then it is c2 = 144 ≥ 123, so min_c = 12

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 122 - 122

max_d = √454 - 64 - 144 - 144

max_d = √102

max_d = 10.099504938362

Since max_d = 10.099504938362 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 122 - 132

max_d = √454 - 64 - 144 - 169

max_d = √77

max_d = 8.7749643873921

Since max_d = 8.7749643873921 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 122 - 142

max_d = √454 - 64 - 144 - 196

max_d = √50

max_d = 7.0710678118655

Since max_d = 7.0710678118655 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 122 - 152

max_d = √454 - 64 - 144 - 225

max_d = √21

max_d = 4.5825756949558

Since max_d = 4.5825756949558 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 82 - 132)

max_c = Floor(√454 - 64 - 169)

max_c = Floor(√221)

max_c = Floor(14.866068747319)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 82 - 132)/2 = 110.5

When min_c = 11, then it is c2 = 121 ≥ 110.5, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 132 - 112

max_d = √454 - 64 - 169 - 121

max_d = √100

max_d = 10

Since max_d = 10, then (a, b, c, d) = (8, 13, 11, 10) is an integer solution proven below

82 + 132 + 112 + 102 → 64 + 169 + 121 + 100 = 454

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 132 - 122

max_d = √454 - 64 - 169 - 144

max_d = √77

max_d = 8.7749643873921

Since max_d = 8.7749643873921 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 132 - 132

max_d = √454 - 64 - 169 - 169

max_d = √52

max_d = 7.211102550928

Since max_d = 7.211102550928 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 132 - 142

max_d = √454 - 64 - 169 - 196

max_d = √25

max_d = 5

Since max_d = 5, then (a, b, c, d) = (8, 13, 14, 5) is an integer solution proven below

82 + 132 + 142 + 52 → 64 + 169 + 196 + 25 = 454

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 82 - 142)

max_c = Floor(√454 - 64 - 196)

max_c = Floor(√194)

max_c = Floor(13.928388277184)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 82 - 142)/2 = 97

When min_c = 10, then it is c2 = 100 ≥ 97, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 142 - 102

max_d = √454 - 64 - 196 - 100

max_d = √94

max_d = 9.6953597148327

Since max_d = 9.6953597148327 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 142 - 112

max_d = √454 - 64 - 196 - 121

max_d = √73

max_d = 8.5440037453175

Since max_d = 8.5440037453175 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 142 - 122

max_d = √454 - 64 - 196 - 144

max_d = √50

max_d = 7.0710678118655

Since max_d = 7.0710678118655 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 142 - 132

max_d = √454 - 64 - 196 - 169

max_d = √25

max_d = 5

Since max_d = 5, then (a, b, c, d) = (8, 14, 13, 5) is an integer solution proven below

82 + 142 + 132 + 52 → 64 + 196 + 169 + 25 = 454

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 82 - 152)

max_c = Floor(√454 - 64 - 225)

max_c = Floor(√165)

max_c = Floor(12.845232578665)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 82 - 152)/2 = 82.5

When min_c = 10, then it is c2 = 100 ≥ 82.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 152 - 102

max_d = √454 - 64 - 225 - 100

max_d = √65

max_d = 8.0622577482985

Since max_d = 8.0622577482985 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 152 - 112

max_d = √454 - 64 - 225 - 121

max_d = √44

max_d = 6.6332495807108

Since max_d = 6.6332495807108 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 152 - 122

max_d = √454 - 64 - 225 - 144

max_d = √21

max_d = 4.5825756949558

Since max_d = 4.5825756949558 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 82 - 162)

max_c = Floor(√454 - 64 - 256)

max_c = Floor(√134)

max_c = Floor(11.57583690279)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 82 - 162)/2 = 67

When min_c = 9, then it is c2 = 81 ≥ 67, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 162 - 92

max_d = √454 - 64 - 256 - 81

max_d = √53

max_d = 7.2801098892805

Since max_d = 7.2801098892805 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 162 - 102

max_d = √454 - 64 - 256 - 100

max_d = √34

max_d = 5.8309518948453

Since max_d = 5.8309518948453 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 162 - 112

max_d = √454 - 64 - 256 - 121

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 82 - 172)

max_c = Floor(√454 - 64 - 289)

max_c = Floor(√101)

max_c = Floor(10.049875621121)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 82 - 172)/2 = 50.5

When min_c = 8, then it is c2 = 64 ≥ 50.5, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 172 - 82

max_d = √454 - 64 - 289 - 64

max_d = √37

max_d = 6.0827625302982

Since max_d = 6.0827625302982 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 172 - 92

max_d = √454 - 64 - 289 - 81

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 172 - 102

max_d = √454 - 64 - 289 - 100

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (8, 17, 10, 1) is an integer solution proven below

82 + 172 + 102 + 12 → 64 + 289 + 100 + 1 = 454

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 82 - 182)

max_c = Floor(√454 - 64 - 324)

max_c = Floor(√66)

max_c = Floor(8.124038404636)

max_c = 8

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 82 - 182)/2 = 33

When min_c = 6, then it is c2 = 36 ≥ 33, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 182 - 62

max_d = √454 - 64 - 324 - 36

max_d = √30

max_d = 5.4772255750517

Since max_d = 5.4772255750517 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 182 - 72

max_d = √454 - 64 - 324 - 49

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 182 - 82

max_d = √454 - 64 - 324 - 64

max_d = √2

max_d = 1.4142135623731

Since max_d = 1.4142135623731 is not an integer, this is not a solution

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 82 - 192)

max_c = Floor(√454 - 64 - 361)

max_c = Floor(√29)

max_c = Floor(5.3851648071345)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 82 - 192)/2 = 14.5

When min_c = 4, then it is c2 = 16 ≥ 14.5, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 192 - 42

max_d = √454 - 64 - 361 - 16

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 82 - 192 - 52

max_d = √454 - 64 - 361 - 25

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (8, 19, 5, 2) is an integer solution proven below

82 + 192 + 52 + 22 → 64 + 361 + 25 + 4 = 454

a = 9

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 92)

max_b = Floor(√454 - 81)

max_b = Floor(√373)

max_b = Floor(19.313207915828)

max_b = 19

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 92)/3 = 124.33333333333

When min_b = 12, then it is b2 = 144 ≥ 124.33333333333, so min_b = 12

Test values for b in the range of (min_b, max_b)

(12, 19)

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 92 - 122)

max_c = Floor(√454 - 81 - 144)

max_c = Floor(√229)

max_c = Floor(15.132745950422)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 92 - 122)/2 = 114.5

When min_c = 11, then it is c2 = 121 ≥ 114.5, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 122 - 112

max_d = √454 - 81 - 144 - 121

max_d = √108

max_d = 10.392304845413

Since max_d = 10.392304845413 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 122 - 122

max_d = √454 - 81 - 144 - 144

max_d = √85

max_d = 9.2195444572929

Since max_d = 9.2195444572929 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 122 - 132

max_d = √454 - 81 - 144 - 169

max_d = √60

max_d = 7.7459666924148

Since max_d = 7.7459666924148 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 122 - 142

max_d = √454 - 81 - 144 - 196

max_d = √33

max_d = 5.744562646538

Since max_d = 5.744562646538 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 122 - 152

max_d = √454 - 81 - 144 - 225

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (9, 12, 15, 2) is an integer solution proven below

92 + 122 + 152 + 22 → 81 + 144 + 225 + 4 = 454

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 92 - 132)

max_c = Floor(√454 - 81 - 169)

max_c = Floor(√204)

max_c = Floor(14.282856857086)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 92 - 132)/2 = 102

When min_c = 11, then it is c2 = 121 ≥ 102, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 132 - 112

max_d = √454 - 81 - 169 - 121

max_d = √83

max_d = 9.1104335791443

Since max_d = 9.1104335791443 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 132 - 122

max_d = √454 - 81 - 169 - 144

max_d = √60

max_d = 7.7459666924148

Since max_d = 7.7459666924148 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 132 - 132

max_d = √454 - 81 - 169 - 169

max_d = √35

max_d = 5.9160797830996

Since max_d = 5.9160797830996 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 132 - 142

max_d = √454 - 81 - 169 - 196

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 92 - 142)

max_c = Floor(√454 - 81 - 196)

max_c = Floor(√177)

max_c = Floor(13.30413469565)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 92 - 142)/2 = 88.5

When min_c = 10, then it is c2 = 100 ≥ 88.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 142 - 102

max_d = √454 - 81 - 196 - 100

max_d = √77

max_d = 8.7749643873921

Since max_d = 8.7749643873921 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 142 - 112

max_d = √454 - 81 - 196 - 121

max_d = √56

max_d = 7.4833147735479

Since max_d = 7.4833147735479 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 142 - 122

max_d = √454 - 81 - 196 - 144

max_d = √33

max_d = 5.744562646538

Since max_d = 5.744562646538 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 142 - 132

max_d = √454 - 81 - 196 - 169

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 92 - 152)

max_c = Floor(√454 - 81 - 225)

max_c = Floor(√148)

max_c = Floor(12.165525060596)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 92 - 152)/2 = 74

When min_c = 9, then it is c2 = 81 ≥ 74, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 152 - 92

max_d = √454 - 81 - 225 - 81

max_d = √67

max_d = 8.1853527718725

Since max_d = 8.1853527718725 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 152 - 102

max_d = √454 - 81 - 225 - 100

max_d = √48

max_d = 6.9282032302755

Since max_d = 6.9282032302755 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 152 - 112

max_d = √454 - 81 - 225 - 121

max_d = √27

max_d = 5.1961524227066

Since max_d = 5.1961524227066 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 152 - 122

max_d = √454 - 81 - 225 - 144

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (9, 15, 12, 2) is an integer solution proven below

92 + 152 + 122 + 22 → 81 + 225 + 144 + 4 = 454

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 92 - 162)

max_c = Floor(√454 - 81 - 256)

max_c = Floor(√117)

max_c = Floor(10.816653826392)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 92 - 162)/2 = 58.5

When min_c = 8, then it is c2 = 64 ≥ 58.5, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 162 - 82

max_d = √454 - 81 - 256 - 64

max_d = √53

max_d = 7.2801098892805

Since max_d = 7.2801098892805 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 162 - 92

max_d = √454 - 81 - 256 - 81

max_d = √36

max_d = 6

Since max_d = 6, then (a, b, c, d) = (9, 16, 9, 6) is an integer solution proven below

92 + 162 + 92 + 62 → 81 + 256 + 81 + 36 = 454

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 162 - 102

max_d = √454 - 81 - 256 - 100

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 92 - 172)

max_c = Floor(√454 - 81 - 289)

max_c = Floor(√84)

max_c = Floor(9.1651513899117)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 92 - 172)/2 = 42

When min_c = 7, then it is c2 = 49 ≥ 42, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 172 - 72

max_d = √454 - 81 - 289 - 49

max_d = √35

max_d = 5.9160797830996

Since max_d = 5.9160797830996 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 172 - 82

max_d = √454 - 81 - 289 - 64

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 172 - 92

max_d = √454 - 81 - 289 - 81

max_d = √3

max_d = 1.7320508075689

Since max_d = 1.7320508075689 is not an integer, this is not a solution

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 92 - 182)

max_c = Floor(√454 - 81 - 324)

max_c = Floor(√49)

max_c = Floor(7)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 92 - 182)/2 = 24.5

When min_c = 5, then it is c2 = 25 ≥ 24.5, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 182 - 52

max_d = √454 - 81 - 324 - 25

max_d = √24

max_d = 4.8989794855664

Since max_d = 4.8989794855664 is not an integer, this is not a solution

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 182 - 62

max_d = √454 - 81 - 324 - 36

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 182 - 72

max_d = √454 - 81 - 324 - 49

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (9, 18, 7, 0) is an integer solution proven below

92 + 182 + 72 + 02 → 81 + 324 + 49 + 0 = 454

b = 19

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 92 - 192)

max_c = Floor(√454 - 81 - 361)

max_c = Floor(√12)

max_c = Floor(3.4641016151378)

max_c = 3

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 92 - 192)/2 = 6

When min_c = 3, then it is c2 = 9 ≥ 6, so min_c = 3

c = 3

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 92 - 192 - 32

max_d = √454 - 81 - 361 - 9

max_d = √3

max_d = 1.7320508075689

Since max_d = 1.7320508075689 is not an integer, this is not a solution

a = 10

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 102)

max_b = Floor(√454 - 100)

max_b = Floor(√354)

max_b = Floor(18.814887722227)

max_b = 18

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 102)/3 = 118

When min_b = 11, then it is b2 = 121 ≥ 118, so min_b = 11

Test values for b in the range of (min_b, max_b)

(11, 18)

b = 11

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 102 - 112)

max_c = Floor(√454 - 100 - 121)

max_c = Floor(√233)

max_c = Floor(15.264337522474)

max_c = 15

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 102 - 112)/2 = 116.5

When min_c = 11, then it is c2 = 121 ≥ 116.5, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 112 - 112

max_d = √454 - 100 - 121 - 121

max_d = √112

max_d = 10.583005244258

Since max_d = 10.583005244258 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 112 - 122

max_d = √454 - 100 - 121 - 144

max_d = √89

max_d = 9.4339811320566

Since max_d = 9.4339811320566 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 112 - 132

max_d = √454 - 100 - 121 - 169

max_d = √64

max_d = 8

Since max_d = 8, then (a, b, c, d) = (10, 11, 13, 8) is an integer solution proven below

102 + 112 + 132 + 82 → 100 + 121 + 169 + 64 = 454

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 112 - 142

max_d = √454 - 100 - 121 - 196

max_d = √37

max_d = 6.0827625302982

Since max_d = 6.0827625302982 is not an integer, this is not a solution

c = 15

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 112 - 152

max_d = √454 - 100 - 121 - 225

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 102 - 122)

max_c = Floor(√454 - 100 - 144)

max_c = Floor(√210)

max_c = Floor(14.491376746189)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 102 - 122)/2 = 105

When min_c = 11, then it is c2 = 121 ≥ 105, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 122 - 112

max_d = √454 - 100 - 144 - 121

max_d = √89

max_d = 9.4339811320566

Since max_d = 9.4339811320566 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 122 - 122

max_d = √454 - 100 - 144 - 144

max_d = √66

max_d = 8.124038404636

Since max_d = 8.124038404636 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 122 - 132

max_d = √454 - 100 - 144 - 169

max_d = √41

max_d = 6.4031242374328

Since max_d = 6.4031242374328 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 122 - 142

max_d = √454 - 100 - 144 - 196

max_d = √14

max_d = 3.7416573867739

Since max_d = 3.7416573867739 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 102 - 132)

max_c = Floor(√454 - 100 - 169)

max_c = Floor(√185)

max_c = Floor(13.601470508735)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 102 - 132)/2 = 92.5

When min_c = 10, then it is c2 = 100 ≥ 92.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 132 - 102

max_d = √454 - 100 - 169 - 100

max_d = √85

max_d = 9.2195444572929

Since max_d = 9.2195444572929 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 132 - 112

max_d = √454 - 100 - 169 - 121

max_d = √64

max_d = 8

Since max_d = 8, then (a, b, c, d) = (10, 13, 11, 8) is an integer solution proven below

102 + 132 + 112 + 82 → 100 + 169 + 121 + 64 = 454

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 132 - 122

max_d = √454 - 100 - 169 - 144

max_d = √41

max_d = 6.4031242374328

Since max_d = 6.4031242374328 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 132 - 132

max_d = √454 - 100 - 169 - 169

max_d = √16

max_d = 4

Since max_d = 4, then (a, b, c, d) = (10, 13, 13, 4) is an integer solution proven below

102 + 132 + 132 + 42 → 100 + 169 + 169 + 16 = 454

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 102 - 142)

max_c = Floor(√454 - 100 - 196)

max_c = Floor(√158)

max_c = Floor(12.569805089977)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 102 - 142)/2 = 79

When min_c = 9, then it is c2 = 81 ≥ 79, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 142 - 92

max_d = √454 - 100 - 196 - 81

max_d = √77

max_d = 8.7749643873921

Since max_d = 8.7749643873921 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 142 - 102

max_d = √454 - 100 - 196 - 100

max_d = √58

max_d = 7.6157731058639

Since max_d = 7.6157731058639 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 142 - 112

max_d = √454 - 100 - 196 - 121

max_d = √37

max_d = 6.0827625302982

Since max_d = 6.0827625302982 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 142 - 122

max_d = √454 - 100 - 196 - 144

max_d = √14

max_d = 3.7416573867739

Since max_d = 3.7416573867739 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 102 - 152)

max_c = Floor(√454 - 100 - 225)

max_c = Floor(√129)

max_c = Floor(11.357816691601)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 102 - 152)/2 = 64.5

When min_c = 9, then it is c2 = 81 ≥ 64.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 152 - 92

max_d = √454 - 100 - 225 - 81

max_d = √48

max_d = 6.9282032302755

Since max_d = 6.9282032302755 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 152 - 102

max_d = √454 - 100 - 225 - 100

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 152 - 112

max_d = √454 - 100 - 225 - 121

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 102 - 162)

max_c = Floor(√454 - 100 - 256)

max_c = Floor(√98)

max_c = Floor(9.8994949366117)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 102 - 162)/2 = 49

When min_c = 7, then it is c2 = 49 ≥ 49, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 162 - 72

max_d = √454 - 100 - 256 - 49

max_d = √49

max_d = 7

Since max_d = 7, then (a, b, c, d) = (10, 16, 7, 7) is an integer solution proven below

102 + 162 + 72 + 72 → 100 + 256 + 49 + 49 = 454

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 162 - 82

max_d = √454 - 100 - 256 - 64

max_d = √34

max_d = 5.8309518948453

Since max_d = 5.8309518948453 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 162 - 92

max_d = √454 - 100 - 256 - 81

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 102 - 172)

max_c = Floor(√454 - 100 - 289)

max_c = Floor(√65)

max_c = Floor(8.0622577482985)

max_c = 8

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 102 - 172)/2 = 32.5

When min_c = 6, then it is c2 = 36 ≥ 32.5, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 172 - 62

max_d = √454 - 100 - 289 - 36

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 172 - 72

max_d = √454 - 100 - 289 - 49

max_d = √16

max_d = 4

Since max_d = 4, then (a, b, c, d) = (10, 17, 7, 4) is an integer solution proven below

102 + 172 + 72 + 42 → 100 + 289 + 49 + 16 = 454

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 172 - 82

max_d = √454 - 100 - 289 - 64

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (10, 17, 8, 1) is an integer solution proven below

102 + 172 + 82 + 12 → 100 + 289 + 64 + 1 = 454

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 102 - 182)

max_c = Floor(√454 - 100 - 324)

max_c = Floor(√30)

max_c = Floor(5.4772255750517)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 102 - 182)/2 = 15

When min_c = 4, then it is c2 = 16 ≥ 15, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 182 - 42

max_d = √454 - 100 - 324 - 16

max_d = √14

max_d = 3.7416573867739

Since max_d = 3.7416573867739 is not an integer, this is not a solution

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 102 - 182 - 52

max_d = √454 - 100 - 324 - 25

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

a = 11

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 112)

max_b = Floor(√454 - 121)

max_b = Floor(√333)

max_b = Floor(18.248287590895)

max_b = 18

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 112)/3 = 111

When min_b = 11, then it is b2 = 121 ≥ 111, so min_b = 11

Test values for b in the range of (min_b, max_b)

(11, 18)

b = 11

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 112 - 112)

max_c = Floor(√454 - 121 - 121)

max_c = Floor(√212)

max_c = Floor(14.560219778561)

max_c = 14

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 112 - 112)/2 = 106

When min_c = 11, then it is c2 = 121 ≥ 106, so min_c = 11

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 112 - 112

max_d = √454 - 121 - 121 - 121

max_d = √91

max_d = 9.5393920141695

Since max_d = 9.5393920141695 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 112 - 122

max_d = √454 - 121 - 121 - 144

max_d = √68

max_d = 8.2462112512353

Since max_d = 8.2462112512353 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 112 - 132

max_d = √454 - 121 - 121 - 169

max_d = √43

max_d = 6.557438524302

Since max_d = 6.557438524302 is not an integer, this is not a solution

c = 14

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 112 - 142

max_d = √454 - 121 - 121 - 196

max_d = √16

max_d = 4

Since max_d = 4, then (a, b, c, d) = (11, 11, 14, 4) is an integer solution proven below

112 + 112 + 142 + 42 → 121 + 121 + 196 + 16 = 454

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 112 - 122)

max_c = Floor(√454 - 121 - 144)

max_c = Floor(√189)

max_c = Floor(13.747727084868)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 112 - 122)/2 = 94.5

When min_c = 10, then it is c2 = 100 ≥ 94.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 122 - 102

max_d = √454 - 121 - 144 - 100

max_d = √89

max_d = 9.4339811320566

Since max_d = 9.4339811320566 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 122 - 112

max_d = √454 - 121 - 144 - 121

max_d = √68

max_d = 8.2462112512353

Since max_d = 8.2462112512353 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 122 - 122

max_d = √454 - 121 - 144 - 144

max_d = √45

max_d = 6.7082039324994

Since max_d = 6.7082039324994 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 122 - 132

max_d = √454 - 121 - 144 - 169

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 112 - 132)

max_c = Floor(√454 - 121 - 169)

max_c = Floor(√164)

max_c = Floor(12.806248474866)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 112 - 132)/2 = 82

When min_c = 10, then it is c2 = 100 ≥ 82, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 132 - 102

max_d = √454 - 121 - 169 - 100

max_d = √64

max_d = 8

Since max_d = 8, then (a, b, c, d) = (11, 13, 10, 8) is an integer solution proven below

112 + 132 + 102 + 82 → 121 + 169 + 100 + 64 = 454

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 132 - 112

max_d = √454 - 121 - 169 - 121

max_d = √43

max_d = 6.557438524302

Since max_d = 6.557438524302 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 132 - 122

max_d = √454 - 121 - 169 - 144

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 112 - 142)

max_c = Floor(√454 - 121 - 196)

max_c = Floor(√137)

max_c = Floor(11.70469991072)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 112 - 142)/2 = 68.5

When min_c = 9, then it is c2 = 81 ≥ 68.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 142 - 92

max_d = √454 - 121 - 196 - 81

max_d = √56

max_d = 7.4833147735479

Since max_d = 7.4833147735479 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 142 - 102

max_d = √454 - 121 - 196 - 100

max_d = √37

max_d = 6.0827625302982

Since max_d = 6.0827625302982 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 142 - 112

max_d = √454 - 121 - 196 - 121

max_d = √16

max_d = 4

Since max_d = 4, then (a, b, c, d) = (11, 14, 11, 4) is an integer solution proven below

112 + 142 + 112 + 42 → 121 + 196 + 121 + 16 = 454

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 112 - 152)

max_c = Floor(√454 - 121 - 225)

max_c = Floor(√108)

max_c = Floor(10.392304845413)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 112 - 152)/2 = 54

When min_c = 8, then it is c2 = 64 ≥ 54, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 152 - 82

max_d = √454 - 121 - 225 - 64

max_d = √44

max_d = 6.6332495807108

Since max_d = 6.6332495807108 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 152 - 92

max_d = √454 - 121 - 225 - 81

max_d = √27

max_d = 5.1961524227066

Since max_d = 5.1961524227066 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 152 - 102

max_d = √454 - 121 - 225 - 100

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 112 - 162)

max_c = Floor(√454 - 121 - 256)

max_c = Floor(√77)

max_c = Floor(8.7749643873921)

max_c = 8

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 112 - 162)/2 = 38.5

When min_c = 7, then it is c2 = 49 ≥ 38.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 162 - 72

max_d = √454 - 121 - 256 - 49

max_d = √28

max_d = 5.2915026221292

Since max_d = 5.2915026221292 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 162 - 82

max_d = √454 - 121 - 256 - 64

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 112 - 172)

max_c = Floor(√454 - 121 - 289)

max_c = Floor(√44)

max_c = Floor(6.6332495807108)

max_c = 6

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 112 - 172)/2 = 22

When min_c = 5, then it is c2 = 25 ≥ 22, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 172 - 52

max_d = √454 - 121 - 289 - 25

max_d = √19

max_d = 4.3588989435407

Since max_d = 4.3588989435407 is not an integer, this is not a solution

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 172 - 62

max_d = √454 - 121 - 289 - 36

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 18

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 112 - 182)

max_c = Floor(√454 - 121 - 324)

max_c = Floor(√9)

max_c = Floor(3)

max_c = 3

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 112 - 182)/2 = 4.5

When min_c = 3, then it is c2 = 9 ≥ 4.5, so min_c = 3

c = 3

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 112 - 182 - 32

max_d = √454 - 121 - 324 - 9

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (11, 18, 3, 0) is an integer solution proven below

112 + 182 + 32 + 02 → 121 + 324 + 9 + 0 = 454

a = 12

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 122)

max_b = Floor(√454 - 144)

max_b = Floor(√310)

max_b = Floor(17.606816861659)

max_b = 17

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 122)/3 = 103.33333333333

When min_b = 11, then it is b2 = 121 ≥ 103.33333333333, so min_b = 11

Test values for b in the range of (min_b, max_b)

(11, 17)

b = 11

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 122 - 112)

max_c = Floor(√454 - 144 - 121)

max_c = Floor(√189)

max_c = Floor(13.747727084868)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 122 - 112)/2 = 94.5

When min_c = 10, then it is c2 = 100 ≥ 94.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 112 - 102

max_d = √454 - 144 - 121 - 100

max_d = √89

max_d = 9.4339811320566

Since max_d = 9.4339811320566 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 112 - 112

max_d = √454 - 144 - 121 - 121

max_d = √68

max_d = 8.2462112512353

Since max_d = 8.2462112512353 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 112 - 122

max_d = √454 - 144 - 121 - 144

max_d = √45

max_d = 6.7082039324994

Since max_d = 6.7082039324994 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 112 - 132

max_d = √454 - 144 - 121 - 169

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 122 - 122)

max_c = Floor(√454 - 144 - 144)

max_c = Floor(√166)

max_c = Floor(12.884098726725)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 122 - 122)/2 = 83

When min_c = 10, then it is c2 = 100 ≥ 83, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 122 - 102

max_d = √454 - 144 - 144 - 100

max_d = √66

max_d = 8.124038404636

Since max_d = 8.124038404636 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 122 - 112

max_d = √454 - 144 - 144 - 121

max_d = √45

max_d = 6.7082039324994

Since max_d = 6.7082039324994 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 122 - 122

max_d = √454 - 144 - 144 - 144

max_d = √22

max_d = 4.6904157598234

Since max_d = 4.6904157598234 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 122 - 132)

max_c = Floor(√454 - 144 - 169)

max_c = Floor(√141)

max_c = Floor(11.874342087038)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 122 - 132)/2 = 70.5

When min_c = 9, then it is c2 = 81 ≥ 70.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 132 - 92

max_d = √454 - 144 - 169 - 81

max_d = √60

max_d = 7.7459666924148

Since max_d = 7.7459666924148 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 132 - 102

max_d = √454 - 144 - 169 - 100

max_d = √41

max_d = 6.4031242374328

Since max_d = 6.4031242374328 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 132 - 112

max_d = √454 - 144 - 169 - 121

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 122 - 142)

max_c = Floor(√454 - 144 - 196)

max_c = Floor(√114)

max_c = Floor(10.677078252031)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 122 - 142)/2 = 57

When min_c = 8, then it is c2 = 64 ≥ 57, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 142 - 82

max_d = √454 - 144 - 196 - 64

max_d = √50

max_d = 7.0710678118655

Since max_d = 7.0710678118655 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 142 - 92

max_d = √454 - 144 - 196 - 81

max_d = √33

max_d = 5.744562646538

Since max_d = 5.744562646538 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 142 - 102

max_d = √454 - 144 - 196 - 100

max_d = √14

max_d = 3.7416573867739

Since max_d = 3.7416573867739 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 122 - 152)

max_c = Floor(√454 - 144 - 225)

max_c = Floor(√85)

max_c = Floor(9.2195444572929)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 122 - 152)/2 = 42.5

When min_c = 7, then it is c2 = 49 ≥ 42.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 152 - 72

max_d = √454 - 144 - 225 - 49

max_d = √36

max_d = 6

Since max_d = 6, then (a, b, c, d) = (12, 15, 7, 6) is an integer solution proven below

122 + 152 + 72 + 62 → 144 + 225 + 49 + 36 = 454

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 152 - 82

max_d = √454 - 144 - 225 - 64

max_d = √21

max_d = 4.5825756949558

Since max_d = 4.5825756949558 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 152 - 92

max_d = √454 - 144 - 225 - 81

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (12, 15, 9, 2) is an integer solution proven below

122 + 152 + 92 + 22 → 144 + 225 + 81 + 4 = 454

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 122 - 162)

max_c = Floor(√454 - 144 - 256)

max_c = Floor(√54)

max_c = Floor(7.3484692283495)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 122 - 162)/2 = 27

When min_c = 6, then it is c2 = 36 ≥ 27, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 162 - 62

max_d = √454 - 144 - 256 - 36

max_d = √18

max_d = 4.2426406871193

Since max_d = 4.2426406871193 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 162 - 72

max_d = √454 - 144 - 256 - 49

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

b = 17

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 122 - 172)

max_c = Floor(√454 - 144 - 289)

max_c = Floor(√21)

max_c = Floor(4.5825756949558)

max_c = 4

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 122 - 172)/2 = 10.5

When min_c = 4, then it is c2 = 16 ≥ 10.5, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 122 - 172 - 42

max_d = √454 - 144 - 289 - 16

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

a = 13

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 132)

max_b = Floor(√454 - 169)

max_b = Floor(√285)

max_b = Floor(16.881943016134)

max_b = 16

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 132)/3 = 95

When min_b = 10, then it is b2 = 100 ≥ 95, so min_b = 10

Test values for b in the range of (min_b, max_b)

(10, 16)

b = 10

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 132 - 102)

max_c = Floor(√454 - 169 - 100)

max_c = Floor(√185)

max_c = Floor(13.601470508735)

max_c = 13

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 132 - 102)/2 = 92.5

When min_c = 10, then it is c2 = 100 ≥ 92.5, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 102 - 102

max_d = √454 - 169 - 100 - 100

max_d = √85

max_d = 9.2195444572929

Since max_d = 9.2195444572929 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 102 - 112

max_d = √454 - 169 - 100 - 121

max_d = √64

max_d = 8

Since max_d = 8, then (a, b, c, d) = (13, 10, 11, 8) is an integer solution proven below

132 + 102 + 112 + 82 → 169 + 100 + 121 + 64 = 454

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 102 - 122

max_d = √454 - 169 - 100 - 144

max_d = √41

max_d = 6.4031242374328

Since max_d = 6.4031242374328 is not an integer, this is not a solution

c = 13

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 102 - 132

max_d = √454 - 169 - 100 - 169

max_d = √16

max_d = 4

Since max_d = 4, then (a, b, c, d) = (13, 10, 13, 4) is an integer solution proven below

132 + 102 + 132 + 42 → 169 + 100 + 169 + 16 = 454

b = 11

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 132 - 112)

max_c = Floor(√454 - 169 - 121)

max_c = Floor(√164)

max_c = Floor(12.806248474866)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 132 - 112)/2 = 82

When min_c = 10, then it is c2 = 100 ≥ 82, so min_c = 10

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 112 - 102

max_d = √454 - 169 - 121 - 100

max_d = √64

max_d = 8

Since max_d = 8, then (a, b, c, d) = (13, 11, 10, 8) is an integer solution proven below

132 + 112 + 102 + 82 → 169 + 121 + 100 + 64 = 454

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 112 - 112

max_d = √454 - 169 - 121 - 121

max_d = √43

max_d = 6.557438524302

Since max_d = 6.557438524302 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 112 - 122

max_d = √454 - 169 - 121 - 144

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 132 - 122)

max_c = Floor(√454 - 169 - 144)

max_c = Floor(√141)

max_c = Floor(11.874342087038)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 132 - 122)/2 = 70.5

When min_c = 9, then it is c2 = 81 ≥ 70.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 122 - 92

max_d = √454 - 169 - 144 - 81

max_d = √60

max_d = 7.7459666924148

Since max_d = 7.7459666924148 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 122 - 102

max_d = √454 - 169 - 144 - 100

max_d = √41

max_d = 6.4031242374328

Since max_d = 6.4031242374328 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 122 - 112

max_d = √454 - 169 - 144 - 121

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 132 - 132)

max_c = Floor(√454 - 169 - 169)

max_c = Floor(√116)

max_c = Floor(10.770329614269)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 132 - 132)/2 = 58

When min_c = 8, then it is c2 = 64 ≥ 58, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 132 - 82

max_d = √454 - 169 - 169 - 64

max_d = √52

max_d = 7.211102550928

Since max_d = 7.211102550928 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 132 - 92

max_d = √454 - 169 - 169 - 81

max_d = √35

max_d = 5.9160797830996

Since max_d = 5.9160797830996 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 132 - 102

max_d = √454 - 169 - 169 - 100

max_d = √16

max_d = 4

Since max_d = 4, then (a, b, c, d) = (13, 13, 10, 4) is an integer solution proven below

132 + 132 + 102 + 42 → 169 + 169 + 100 + 16 = 454

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 132 - 142)

max_c = Floor(√454 - 169 - 196)

max_c = Floor(√89)

max_c = Floor(9.4339811320566)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 132 - 142)/2 = 44.5

When min_c = 7, then it is c2 = 49 ≥ 44.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 142 - 72

max_d = √454 - 169 - 196 - 49

max_d = √40

max_d = 6.3245553203368

Since max_d = 6.3245553203368 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 142 - 82

max_d = √454 - 169 - 196 - 64

max_d = √25

max_d = 5

Since max_d = 5, then (a, b, c, d) = (13, 14, 8, 5) is an integer solution proven below

132 + 142 + 82 + 52 → 169 + 196 + 64 + 25 = 454

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 142 - 92

max_d = √454 - 169 - 196 - 81

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 132 - 152)

max_c = Floor(√454 - 169 - 225)

max_c = Floor(√60)

max_c = Floor(7.7459666924148)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 132 - 152)/2 = 30

When min_c = 6, then it is c2 = 36 ≥ 30, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 152 - 62

max_d = √454 - 169 - 225 - 36

max_d = √24

max_d = 4.8989794855664

Since max_d = 4.8989794855664 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 152 - 72

max_d = √454 - 169 - 225 - 49

max_d = √11

max_d = 3.3166247903554

Since max_d = 3.3166247903554 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 132 - 162)

max_c = Floor(√454 - 169 - 256)

max_c = Floor(√29)

max_c = Floor(5.3851648071345)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 132 - 162)/2 = 14.5

When min_c = 4, then it is c2 = 16 ≥ 14.5, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 162 - 42

max_d = √454 - 169 - 256 - 16

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 132 - 162 - 52

max_d = √454 - 169 - 256 - 25

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (13, 16, 5, 2) is an integer solution proven below

132 + 162 + 52 + 22 → 169 + 256 + 25 + 4 = 454

a = 14

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 142)

max_b = Floor(√454 - 196)

max_b = Floor(√258)

max_b = Floor(16.062378404209)

max_b = 16

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 142)/3 = 86

When min_b = 10, then it is b2 = 100 ≥ 86, so min_b = 10

Test values for b in the range of (min_b, max_b)

(10, 16)

b = 10

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 142 - 102)

max_c = Floor(√454 - 196 - 100)

max_c = Floor(√158)

max_c = Floor(12.569805089977)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 142 - 102)/2 = 79

When min_c = 9, then it is c2 = 81 ≥ 79, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 102 - 92

max_d = √454 - 196 - 100 - 81

max_d = √77

max_d = 8.7749643873921

Since max_d = 8.7749643873921 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 102 - 102

max_d = √454 - 196 - 100 - 100

max_d = √58

max_d = 7.6157731058639

Since max_d = 7.6157731058639 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 102 - 112

max_d = √454 - 196 - 100 - 121

max_d = √37

max_d = 6.0827625302982

Since max_d = 6.0827625302982 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 102 - 122

max_d = √454 - 196 - 100 - 144

max_d = √14

max_d = 3.7416573867739

Since max_d = 3.7416573867739 is not an integer, this is not a solution

b = 11

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 142 - 112)

max_c = Floor(√454 - 196 - 121)

max_c = Floor(√137)

max_c = Floor(11.70469991072)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 142 - 112)/2 = 68.5

When min_c = 9, then it is c2 = 81 ≥ 68.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 112 - 92

max_d = √454 - 196 - 121 - 81

max_d = √56

max_d = 7.4833147735479

Since max_d = 7.4833147735479 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 112 - 102

max_d = √454 - 196 - 121 - 100

max_d = √37

max_d = 6.0827625302982

Since max_d = 6.0827625302982 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 112 - 112

max_d = √454 - 196 - 121 - 121

max_d = √16

max_d = 4

Since max_d = 4, then (a, b, c, d) = (14, 11, 11, 4) is an integer solution proven below

142 + 112 + 112 + 42 → 196 + 121 + 121 + 16 = 454

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 142 - 122)

max_c = Floor(√454 - 196 - 144)

max_c = Floor(√114)

max_c = Floor(10.677078252031)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 142 - 122)/2 = 57

When min_c = 8, then it is c2 = 64 ≥ 57, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 122 - 82

max_d = √454 - 196 - 144 - 64

max_d = √50

max_d = 7.0710678118655

Since max_d = 7.0710678118655 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 122 - 92

max_d = √454 - 196 - 144 - 81

max_d = √33

max_d = 5.744562646538

Since max_d = 5.744562646538 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 122 - 102

max_d = √454 - 196 - 144 - 100

max_d = √14

max_d = 3.7416573867739

Since max_d = 3.7416573867739 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 142 - 132)

max_c = Floor(√454 - 196 - 169)

max_c = Floor(√89)

max_c = Floor(9.4339811320566)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 142 - 132)/2 = 44.5

When min_c = 7, then it is c2 = 49 ≥ 44.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 132 - 72

max_d = √454 - 196 - 169 - 49

max_d = √40

max_d = 6.3245553203368

Since max_d = 6.3245553203368 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 132 - 82

max_d = √454 - 196 - 169 - 64

max_d = √25

max_d = 5

Since max_d = 5, then (a, b, c, d) = (14, 13, 8, 5) is an integer solution proven below

142 + 132 + 82 + 52 → 196 + 169 + 64 + 25 = 454

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 132 - 92

max_d = √454 - 196 - 169 - 81

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 142 - 142)

max_c = Floor(√454 - 196 - 196)

max_c = Floor(√62)

max_c = Floor(7.8740078740118)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 142 - 142)/2 = 31

When min_c = 6, then it is c2 = 36 ≥ 31, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 142 - 62

max_d = √454 - 196 - 196 - 36

max_d = √26

max_d = 5.0990195135928

Since max_d = 5.0990195135928 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 142 - 72

max_d = √454 - 196 - 196 - 49

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 142 - 152)

max_c = Floor(√454 - 196 - 225)

max_c = Floor(√33)

max_c = Floor(5.744562646538)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 142 - 152)/2 = 16.5

When min_c = 5, then it is c2 = 25 ≥ 16.5, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 152 - 52

max_d = √454 - 196 - 225 - 25

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 16

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 142 - 162)

max_c = Floor(√454 - 196 - 256)

max_c = Floor(√2)

max_c = Floor(1.4142135623731)

max_c = 1

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 142 - 162)/2 = 1

When min_c = 0, then it is c2 = 1 ≥ 1, so min_c = 0

c = 0

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 162 - 02

max_d = √454 - 196 - 256 - 0

max_d = √2

max_d = 1.4142135623731

Since max_d = 1.4142135623731 is not an integer, this is not a solution

c = 1

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 142 - 162 - 12

max_d = √454 - 196 - 256 - 1

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (14, 16, 1, 1) is an integer solution proven below

142 + 162 + 12 + 12 → 196 + 256 + 1 + 1 = 454

a = 15

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 152)

max_b = Floor(√454 - 225)

max_b = Floor(√229)

max_b = Floor(15.132745950422)

max_b = 15

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 152)/3 = 76.333333333333

When min_b = 9, then it is b2 = 81 ≥ 76.333333333333, so min_b = 9

Test values for b in the range of (min_b, max_b)

(9, 15)

b = 9

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 152 - 92)

max_c = Floor(√454 - 225 - 81)

max_c = Floor(√148)

max_c = Floor(12.165525060596)

max_c = 12

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 152 - 92)/2 = 74

When min_c = 9, then it is c2 = 81 ≥ 74, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 92 - 92

max_d = √454 - 225 - 81 - 81

max_d = √67

max_d = 8.1853527718725

Since max_d = 8.1853527718725 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 92 - 102

max_d = √454 - 225 - 81 - 100

max_d = √48

max_d = 6.9282032302755

Since max_d = 6.9282032302755 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 92 - 112

max_d = √454 - 225 - 81 - 121

max_d = √27

max_d = 5.1961524227066

Since max_d = 5.1961524227066 is not an integer, this is not a solution

c = 12

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 92 - 122

max_d = √454 - 225 - 81 - 144

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (15, 9, 12, 2) is an integer solution proven below

152 + 92 + 122 + 22 → 225 + 81 + 144 + 4 = 454

b = 10

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 152 - 102)

max_c = Floor(√454 - 225 - 100)

max_c = Floor(√129)

max_c = Floor(11.357816691601)

max_c = 11

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 152 - 102)/2 = 64.5

When min_c = 9, then it is c2 = 81 ≥ 64.5, so min_c = 9

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 102 - 92

max_d = √454 - 225 - 100 - 81

max_d = √48

max_d = 6.9282032302755

Since max_d = 6.9282032302755 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 102 - 102

max_d = √454 - 225 - 100 - 100

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 11

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 102 - 112

max_d = √454 - 225 - 100 - 121

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 11

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 152 - 112)

max_c = Floor(√454 - 225 - 121)

max_c = Floor(√108)

max_c = Floor(10.392304845413)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 152 - 112)/2 = 54

When min_c = 8, then it is c2 = 64 ≥ 54, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 112 - 82

max_d = √454 - 225 - 121 - 64

max_d = √44

max_d = 6.6332495807108

Since max_d = 6.6332495807108 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 112 - 92

max_d = √454 - 225 - 121 - 81

max_d = √27

max_d = 5.1961524227066

Since max_d = 5.1961524227066 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 112 - 102

max_d = √454 - 225 - 121 - 100

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 152 - 122)

max_c = Floor(√454 - 225 - 144)

max_c = Floor(√85)

max_c = Floor(9.2195444572929)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 152 - 122)/2 = 42.5

When min_c = 7, then it is c2 = 49 ≥ 42.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 122 - 72

max_d = √454 - 225 - 144 - 49

max_d = √36

max_d = 6

Since max_d = 6, then (a, b, c, d) = (15, 12, 7, 6) is an integer solution proven below

152 + 122 + 72 + 62 → 225 + 144 + 49 + 36 = 454

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 122 - 82

max_d = √454 - 225 - 144 - 64

max_d = √21

max_d = 4.5825756949558

Since max_d = 4.5825756949558 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 122 - 92

max_d = √454 - 225 - 144 - 81

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (15, 12, 9, 2) is an integer solution proven below

152 + 122 + 92 + 22 → 225 + 144 + 81 + 4 = 454

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 152 - 132)

max_c = Floor(√454 - 225 - 169)

max_c = Floor(√60)

max_c = Floor(7.7459666924148)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 152 - 132)/2 = 30

When min_c = 6, then it is c2 = 36 ≥ 30, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 132 - 62

max_d = √454 - 225 - 169 - 36

max_d = √24

max_d = 4.8989794855664

Since max_d = 4.8989794855664 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 132 - 72

max_d = √454 - 225 - 169 - 49

max_d = √11

max_d = 3.3166247903554

Since max_d = 3.3166247903554 is not an integer, this is not a solution

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 152 - 142)

max_c = Floor(√454 - 225 - 196)

max_c = Floor(√33)

max_c = Floor(5.744562646538)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 152 - 142)/2 = 16.5

When min_c = 5, then it is c2 = 25 ≥ 16.5, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 142 - 52

max_d = √454 - 225 - 196 - 25

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 15

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 152 - 152)

max_c = Floor(√454 - 225 - 225)

max_c = Floor(√4)

max_c = Floor(2)

max_c = 2

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 152 - 152)/2 = 2

When min_c = 2, then it is c2 = 4 ≥ 2, so min_c = 2

c = 2

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 152 - 152 - 22

max_d = √454 - 225 - 225 - 4

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (15, 15, 2, 0) is an integer solution proven below

152 + 152 + 22 + 02 → 225 + 225 + 4 + 0 = 454

a = 16

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 162)

max_b = Floor(√454 - 256)

max_b = Floor(√198)

max_b = Floor(14.07124727947)

max_b = 14

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 162)/3 = 66

When min_b = 9, then it is b2 = 81 ≥ 66, so min_b = 9

Test values for b in the range of (min_b, max_b)

(9, 14)

b = 9

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 162 - 92)

max_c = Floor(√454 - 256 - 81)

max_c = Floor(√117)

max_c = Floor(10.816653826392)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 162 - 92)/2 = 58.5

When min_c = 8, then it is c2 = 64 ≥ 58.5, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 92 - 82

max_d = √454 - 256 - 81 - 64

max_d = √53

max_d = 7.2801098892805

Since max_d = 7.2801098892805 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 92 - 92

max_d = √454 - 256 - 81 - 81

max_d = √36

max_d = 6

Since max_d = 6, then (a, b, c, d) = (16, 9, 9, 6) is an integer solution proven below

162 + 92 + 92 + 62 → 256 + 81 + 81 + 36 = 454

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 92 - 102

max_d = √454 - 256 - 81 - 100

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

b = 10

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 162 - 102)

max_c = Floor(√454 - 256 - 100)

max_c = Floor(√98)

max_c = Floor(9.8994949366117)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 162 - 102)/2 = 49

When min_c = 7, then it is c2 = 49 ≥ 49, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 102 - 72

max_d = √454 - 256 - 100 - 49

max_d = √49

max_d = 7

Since max_d = 7, then (a, b, c, d) = (16, 10, 7, 7) is an integer solution proven below

162 + 102 + 72 + 72 → 256 + 100 + 49 + 49 = 454

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 102 - 82

max_d = √454 - 256 - 100 - 64

max_d = √34

max_d = 5.8309518948453

Since max_d = 5.8309518948453 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 102 - 92

max_d = √454 - 256 - 100 - 81

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

b = 11

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 162 - 112)

max_c = Floor(√454 - 256 - 121)

max_c = Floor(√77)

max_c = Floor(8.7749643873921)

max_c = 8

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 162 - 112)/2 = 38.5

When min_c = 7, then it is c2 = 49 ≥ 38.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 112 - 72

max_d = √454 - 256 - 121 - 49

max_d = √28

max_d = 5.2915026221292

Since max_d = 5.2915026221292 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 112 - 82

max_d = √454 - 256 - 121 - 64

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 162 - 122)

max_c = Floor(√454 - 256 - 144)

max_c = Floor(√54)

max_c = Floor(7.3484692283495)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 162 - 122)/2 = 27

When min_c = 6, then it is c2 = 36 ≥ 27, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 122 - 62

max_d = √454 - 256 - 144 - 36

max_d = √18

max_d = 4.2426406871193

Since max_d = 4.2426406871193 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 122 - 72

max_d = √454 - 256 - 144 - 49

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

b = 13

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 162 - 132)

max_c = Floor(√454 - 256 - 169)

max_c = Floor(√29)

max_c = Floor(5.3851648071345)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 162 - 132)/2 = 14.5

When min_c = 4, then it is c2 = 16 ≥ 14.5, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 132 - 42

max_d = √454 - 256 - 169 - 16

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 132 - 52

max_d = √454 - 256 - 169 - 25

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (16, 13, 5, 2) is an integer solution proven below

162 + 132 + 52 + 22 → 256 + 169 + 25 + 4 = 454

b = 14

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 162 - 142)

max_c = Floor(√454 - 256 - 196)

max_c = Floor(√2)

max_c = Floor(1.4142135623731)

max_c = 1

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 162 - 142)/2 = 1

When min_c = 0, then it is c2 = 1 ≥ 1, so min_c = 0

c = 0

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 142 - 02

max_d = √454 - 256 - 196 - 0

max_d = √2

max_d = 1.4142135623731

Since max_d = 1.4142135623731 is not an integer, this is not a solution

c = 1

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 162 - 142 - 12

max_d = √454 - 256 - 196 - 1

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (16, 14, 1, 1) is an integer solution proven below

162 + 142 + 12 + 12 → 256 + 196 + 1 + 1 = 454

a = 17

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 172)

max_b = Floor(√454 - 289)

max_b = Floor(√165)

max_b = Floor(12.845232578665)

max_b = 12

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 172)/3 = 55

When min_b = 8, then it is b2 = 64 ≥ 55, so min_b = 8

Test values for b in the range of (min_b, max_b)

(8, 12)

b = 8

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 172 - 82)

max_c = Floor(√454 - 289 - 64)

max_c = Floor(√101)

max_c = Floor(10.049875621121)

max_c = 10

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 172 - 82)/2 = 50.5

When min_c = 8, then it is c2 = 64 ≥ 50.5, so min_c = 8

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 82 - 82

max_d = √454 - 289 - 64 - 64

max_d = √37

max_d = 6.0827625302982

Since max_d = 6.0827625302982 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 82 - 92

max_d = √454 - 289 - 64 - 81

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

c = 10

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 82 - 102

max_d = √454 - 289 - 64 - 100

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (17, 8, 10, 1) is an integer solution proven below

172 + 82 + 102 + 12 → 289 + 64 + 100 + 1 = 454

b = 9

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 172 - 92)

max_c = Floor(√454 - 289 - 81)

max_c = Floor(√84)

max_c = Floor(9.1651513899117)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 172 - 92)/2 = 42

When min_c = 7, then it is c2 = 49 ≥ 42, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 92 - 72

max_d = √454 - 289 - 81 - 49

max_d = √35

max_d = 5.9160797830996

Since max_d = 5.9160797830996 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 92 - 82

max_d = √454 - 289 - 81 - 64

max_d = √20

max_d = 4.4721359549996

Since max_d = 4.4721359549996 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 92 - 92

max_d = √454 - 289 - 81 - 81

max_d = √3

max_d = 1.7320508075689

Since max_d = 1.7320508075689 is not an integer, this is not a solution

b = 10

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 172 - 102)

max_c = Floor(√454 - 289 - 100)

max_c = Floor(√65)

max_c = Floor(8.0622577482985)

max_c = 8

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 172 - 102)/2 = 32.5

When min_c = 6, then it is c2 = 36 ≥ 32.5, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 102 - 62

max_d = √454 - 289 - 100 - 36

max_d = √29

max_d = 5.3851648071345

Since max_d = 5.3851648071345 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 102 - 72

max_d = √454 - 289 - 100 - 49

max_d = √16

max_d = 4

Since max_d = 4, then (a, b, c, d) = (17, 10, 7, 4) is an integer solution proven below

172 + 102 + 72 + 42 → 289 + 100 + 49 + 16 = 454

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 102 - 82

max_d = √454 - 289 - 100 - 64

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (17, 10, 8, 1) is an integer solution proven below

172 + 102 + 82 + 12 → 289 + 100 + 64 + 1 = 454

b = 11

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 172 - 112)

max_c = Floor(√454 - 289 - 121)

max_c = Floor(√44)

max_c = Floor(6.6332495807108)

max_c = 6

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 172 - 112)/2 = 22

When min_c = 5, then it is c2 = 25 ≥ 22, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 112 - 52

max_d = √454 - 289 - 121 - 25

max_d = √19

max_d = 4.3588989435407

Since max_d = 4.3588989435407 is not an integer, this is not a solution

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 112 - 62

max_d = √454 - 289 - 121 - 36

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 12

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 172 - 122)

max_c = Floor(√454 - 289 - 144)

max_c = Floor(√21)

max_c = Floor(4.5825756949558)

max_c = 4

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 172 - 122)/2 = 10.5

When min_c = 4, then it is c2 = 16 ≥ 10.5, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 172 - 122 - 42

max_d = √454 - 289 - 144 - 16

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

a = 18

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 182)

max_b = Floor(√454 - 324)

max_b = Floor(√130)

max_b = Floor(11.401754250991)

max_b = 11

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 182)/3 = 43.333333333333

When min_b = 7, then it is b2 = 49 ≥ 43.333333333333, so min_b = 7

Test values for b in the range of (min_b, max_b)

(7, 11)

b = 7

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 182 - 72)

max_c = Floor(√454 - 324 - 49)

max_c = Floor(√81)

max_c = Floor(9)

max_c = 9

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 182 - 72)/2 = 40.5

When min_c = 7, then it is c2 = 49 ≥ 40.5, so min_c = 7

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 72 - 72

max_d = √454 - 324 - 49 - 49

max_d = √32

max_d = 5.6568542494924

Since max_d = 5.6568542494924 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 72 - 82

max_d = √454 - 324 - 49 - 64

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

c = 9

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 72 - 92

max_d = √454 - 324 - 49 - 81

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (18, 7, 9, 0) is an integer solution proven below

182 + 72 + 92 + 02 → 324 + 49 + 81 + 0 = 454

b = 8

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 182 - 82)

max_c = Floor(√454 - 324 - 64)

max_c = Floor(√66)

max_c = Floor(8.124038404636)

max_c = 8

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 182 - 82)/2 = 33

When min_c = 6, then it is c2 = 36 ≥ 33, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 82 - 62

max_d = √454 - 324 - 64 - 36

max_d = √30

max_d = 5.4772255750517

Since max_d = 5.4772255750517 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 82 - 72

max_d = √454 - 324 - 64 - 49

max_d = √17

max_d = 4.1231056256177

Since max_d = 4.1231056256177 is not an integer, this is not a solution

c = 8

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 82 - 82

max_d = √454 - 324 - 64 - 64

max_d = √2

max_d = 1.4142135623731

Since max_d = 1.4142135623731 is not an integer, this is not a solution

b = 9

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 182 - 92)

max_c = Floor(√454 - 324 - 81)

max_c = Floor(√49)

max_c = Floor(7)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 182 - 92)/2 = 24.5

When min_c = 5, then it is c2 = 25 ≥ 24.5, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 92 - 52

max_d = √454 - 324 - 81 - 25

max_d = √24

max_d = 4.8989794855664

Since max_d = 4.8989794855664 is not an integer, this is not a solution

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 92 - 62

max_d = √454 - 324 - 81 - 36

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 92 - 72

max_d = √454 - 324 - 81 - 49

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (18, 9, 7, 0) is an integer solution proven below

182 + 92 + 72 + 02 → 324 + 81 + 49 + 0 = 454

b = 10

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 182 - 102)

max_c = Floor(√454 - 324 - 100)

max_c = Floor(√30)

max_c = Floor(5.4772255750517)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 182 - 102)/2 = 15

When min_c = 4, then it is c2 = 16 ≥ 15, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 102 - 42

max_d = √454 - 324 - 100 - 16

max_d = √14

max_d = 3.7416573867739

Since max_d = 3.7416573867739 is not an integer, this is not a solution

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 102 - 52

max_d = √454 - 324 - 100 - 25

max_d = √5

max_d = 2.2360679774998

Since max_d = 2.2360679774998 is not an integer, this is not a solution

b = 11

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 182 - 112)

max_c = Floor(√454 - 324 - 121)

max_c = Floor(√9)

max_c = Floor(3)

max_c = 3

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 182 - 112)/2 = 4.5

When min_c = 3, then it is c2 = 9 ≥ 4.5, so min_c = 3

c = 3

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 182 - 112 - 32

max_d = √454 - 324 - 121 - 9

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (18, 11, 3, 0) is an integer solution proven below

182 + 112 + 32 + 02 → 324 + 121 + 9 + 0 = 454

a = 19

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 192)

max_b = Floor(√454 - 361)

max_b = Floor(√93)

max_b = Floor(9.643650760993)

max_b = 9

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 192)/3 = 31

When min_b = 6, then it is b2 = 36 ≥ 31, so min_b = 6

Test values for b in the range of (min_b, max_b)

(6, 9)

b = 6

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 192 - 62)

max_c = Floor(√454 - 361 - 36)

max_c = Floor(√57)

max_c = Floor(7.5498344352707)

max_c = 7

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 192 - 62)/2 = 28.5

When min_c = 6, then it is c2 = 36 ≥ 28.5, so min_c = 6

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 192 - 62 - 62

max_d = √454 - 361 - 36 - 36

max_d = √21

max_d = 4.5825756949558

Since max_d = 4.5825756949558 is not an integer, this is not a solution

c = 7

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 192 - 62 - 72

max_d = √454 - 361 - 36 - 49

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 7

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 192 - 72)

max_c = Floor(√454 - 361 - 49)

max_c = Floor(√44)

max_c = Floor(6.6332495807108)

max_c = 6

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 192 - 72)/2 = 22

When min_c = 5, then it is c2 = 25 ≥ 22, so min_c = 5

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 192 - 72 - 52

max_d = √454 - 361 - 49 - 25

max_d = √19

max_d = 4.3588989435407

Since max_d = 4.3588989435407 is not an integer, this is not a solution

c = 6

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 192 - 72 - 62

max_d = √454 - 361 - 49 - 36

max_d = √8

max_d = 2.8284271247462

Since max_d = 2.8284271247462 is not an integer, this is not a solution

b = 8

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 192 - 82)

max_c = Floor(√454 - 361 - 64)

max_c = Floor(√29)

max_c = Floor(5.3851648071345)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 192 - 82)/2 = 14.5

When min_c = 4, then it is c2 = 16 ≥ 14.5, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 192 - 82 - 42

max_d = √454 - 361 - 64 - 16

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 192 - 82 - 52

max_d = √454 - 361 - 64 - 25

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (19, 8, 5, 2) is an integer solution proven below

192 + 82 + 52 + 22 → 361 + 64 + 25 + 4 = 454

b = 9

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 192 - 92)

max_c = Floor(√454 - 361 - 81)

max_c = Floor(√12)

max_c = Floor(3.4641016151378)

max_c = 3

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 192 - 92)/2 = 6

When min_c = 3, then it is c2 = 9 ≥ 6, so min_c = 3

c = 3

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 192 - 92 - 32

max_d = √454 - 361 - 81 - 9

max_d = √3

max_d = 1.7320508075689

Since max_d = 1.7320508075689 is not an integer, this is not a solution

a = 20

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 202)

max_b = Floor(√454 - 400)

max_b = Floor(√54)

max_b = Floor(7.3484692283495)

max_b = 7

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 202)/3 = 18

When min_b = 5, then it is b2 = 25 ≥ 18, so min_b = 5

Test values for b in the range of (min_b, max_b)

(5, 7)

b = 5

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 202 - 52)

max_c = Floor(√454 - 400 - 25)

max_c = Floor(√29)

max_c = Floor(5.3851648071345)

max_c = 5

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 202 - 52)/2 = 14.5

When min_c = 4, then it is c2 = 16 ≥ 14.5, so min_c = 4

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 202 - 52 - 42

max_d = √454 - 400 - 25 - 16

max_d = √13

max_d = 3.605551275464

Since max_d = 3.605551275464 is not an integer, this is not a solution

c = 5

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 202 - 52 - 52

max_d = √454 - 400 - 25 - 25

max_d = √4

max_d = 2

Since max_d = 2, then (a, b, c, d) = (20, 5, 5, 2) is an integer solution proven below

202 + 52 + 52 + 22 → 400 + 25 + 25 + 4 = 454

b = 6

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 202 - 62)

max_c = Floor(√454 - 400 - 36)

max_c = Floor(√18)

max_c = Floor(4.2426406871193)

max_c = 4

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 202 - 62)/2 = 9

When min_c = 3, then it is c2 = 9 ≥ 9, so min_c = 3

c = 3

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 202 - 62 - 32

max_d = √454 - 400 - 36 - 9

max_d = √9

max_d = 3

Since max_d = 3, then (a, b, c, d) = (20, 6, 3, 3) is an integer solution proven below

202 + 62 + 32 + 32 → 400 + 36 + 9 + 9 = 454

c = 4

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 202 - 62 - 42

max_d = √454 - 400 - 36 - 16

max_d = √2

max_d = 1.4142135623731

Since max_d = 1.4142135623731 is not an integer, this is not a solution

b = 7

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 202 - 72)

max_c = Floor(√454 - 400 - 49)

max_c = Floor(√5)

max_c = Floor(2.2360679774998)

max_c = 2

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 202 - 72)/2 = 2.5

When min_c = 2, then it is c2 = 4 ≥ 2.5, so min_c = 2

c = 2

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 202 - 72 - 22

max_d = √454 - 400 - 49 - 4

max_d = √1

max_d = 1

Since max_d = 1, then (a, b, c, d) = (20, 7, 2, 1) is an integer solution proven below

202 + 72 + 22 + 12 → 400 + 49 + 4 + 1 = 454

a = 21

Find max_b which is Floor(√n - a2)

max_b = Floor(√454 - 212)

max_b = Floor(√454 - 441)

max_b = Floor(√13)

max_b = Floor(3.605551275464)

max_b = 3

Find b such that b2 ≥ (n - a2)/3

Call it min_b

Find b

Start with min_b = 0 and increase by 1
Go until (n - a2)/3 → (454 - 212)/3 = 4.3333333333333

When min_b = 3, then it is b2 = 9 ≥ 4.3333333333333, so min_b = 3

Test values for b in the range of (min_b, max_b)

(3, 3)

b = 3

Determine max_c =Floor(√n - a2 - b2)

max_c = Floor(√454 - 212 - 32)

max_c = Floor(√454 - 441 - 9)

max_c = Floor(√4)

max_c = Floor(2)

max_c = 2

Step 5b. Obtain the first value of b such that b2 ≥ (n - a2)/3

Call it min_b

Start with min_c = 0 and increase by 1

Go until (n - a2 - b2 )/2 → (454 - 212 - 32)/2 = 2

When min_c = 2, then it is c2 = 4 ≥ 2, so min_c = 2

c = 2

See if d is an integer solution which is √n - a2 - b2

max_d = √454 - 212 - 32 - 22

max_d = √454 - 441 - 9 - 4

max_d = √0

max_d = 0

Since max_d = 0, then (a, b, c, d) = (21, 3, 2, 0) is an integer solution proven below

212 + 32 + 22 + 02 → 441 + 9 + 4 + 0 = 454

List out 20 solutions:


(a, b, c, d) = (15, 15, 2, 0)
(a, b, c, d) = (18, 9, 7, 0)
(a, b, c, d) = (18, 11, 3, 0)
(a, b, c, d) = (21, 3, 2, 0)
(a, b, c, d) = (16, 14, 1, 1)
(a, b, c, d) = (17, 10, 8, 1)
(a, b, c, d) = (20, 7, 2, 1)
(a, b, c, d) = (16, 13, 5, 2)
(a, b, c, d) = (15, 12, 9, 2)
(a, b, c, d) = (19, 8, 5, 2)
(a, b, c, d) = (20, 5, 5, 2)
(a, b, c, d) = (20, 6, 3, 3)
(a, b, c, d) = (13, 13, 10, 4)
(a, b, c, d) = (14, 11, 11, 4)
(a, b, c, d) = (17, 10, 7, 4)
(a, b, c, d) = (14, 13, 8, 5)
(a, b, c, d) = (15, 12, 7, 6)
(a, b, c, d) = (16, 9, 9, 6)
(a, b, c, d) = (16, 10, 7, 7)
(a, b, c, d) = (13, 11, 10, 8)


Download the mobile appGenerate a practice problemGenerate a quiz

What is the Answer?
(a, b, c, d) = (15, 15, 2, 0)
(a, b, c, d) = (18, 9, 7, 0)
(a, b, c, d) = (18, 11, 3, 0)
(a, b, c, d) = (21, 3, 2, 0)
(a, b, c, d) = (16, 14, 1, 1)
(a, b, c, d) = (17, 10, 8, 1)
(a, b, c, d) = (20, 7, 2, 1)
(a, b, c, d) = (16, 13, 5, 2)
(a, b, c, d) = (15, 12, 9, 2)
(a, b, c, d) = (19, 8, 5, 2)
(a, b, c, d) = (20, 5, 5, 2)
(a, b, c, d) = (20, 6, 3, 3)
(a, b, c, d) = (13, 13, 10, 4)
(a, b, c, d) = (14, 11, 11, 4)
(a, b, c, d) = (17, 10, 7, 4)
(a, b, c, d) = (14, 13, 8, 5)
(a, b, c, d) = (15, 12, 7, 6)
(a, b, c, d) = (16, 9, 9, 6)
(a, b, c, d) = (16, 10, 7, 7)
(a, b, c, d) = (13, 11, 10, 8)
How does the Lagrange Four Square Theorem (Bachet Conjecture) Calculator work?
Free Lagrange Four Square Theorem (Bachet Conjecture) Calculator - Builds the Lagrange Theorem Notation (Bachet Conjecture) for any natural number using the Sum of four squares.
This calculator has 1 input.
What 1 formula is used for the Lagrange Four Square Theorem (Bachet Conjecture) Calculator?
p = a2 + b2 + c2 + d2
What 7 concepts are covered in the Lagrange Four Square Theorem (Bachet Conjecture) Calculator?
algorithm
A process to solve a problem in a set amount of time
floor
the greatest integer that is less than or equal to x
integer
a whole number; a number that is not a fraction
...,-5,-4,-3,-2,-1,0,1,2,3,4,5,...
lagrange theorem
in group theory, for any finite group say G, the order of subgroup H of group G divides the order of G
p = a2 + b2 + c2 + d2
maximum
the greatest or highest amount possible or attained
minimum
the least or lowest amount possible or attained
natural number
the positive integers (whole numbers)
1, 2, 3, ...
Example calculations for the Lagrange Four Square Theorem (Bachet Conjecture) Calculator
Lagrange Four Square Theorem (Bachet Conjecture) Calculator Video

Tags:



Add This Calculator To Your Website