Square numbers

In mathematics, a square number, is an integer that is the square of an integer. For example, 25 is a square number, since it can be written as 5 × 5.

Here is a list of the squares you get from 1 to 100.

1 = 1*1
4 = 2*2
9 = 3*3
16 = 4*4
25 = 5*5
36 = 6*6
49 = 7*7
64 = 8*8
81 = 9*9
100 = 10*10
121 = 11*11
144 = 12*12
169 = 13*13
196 = 14*14
225 = 15*15
256 = 16*16
289 = 17*17
324 = 18*18
361 = 19*19
400 = 20*20
441 = 21*21
484 = 22*22
529 = 23*23
576 = 24*24
625 = 25*25
676 = 26*26
729 = 27*27
784 = 28*28
841 = 29*29
900 = 30*30
961 = 31*31
1024 = 32*32
1089 = 33*33
1156 = 34*34
1225 = 35*35
1296 = 36*36
1369 = 37*37
1444 = 38*38
1521 = 39*39
1600 = 40*40
1681 = 41*41
1764 = 42*42
1849 = 43*43
1936 = 44*44
2025 = 45*45
2116 = 46*46
2209 = 47*47
2304 = 48*48
2401 = 49*49
2500 = 50*50
2601 = 51*51
2704 = 52*52
2809 = 53*53
2916 = 54*54
3025 = 55*55
3136 = 56*56
3249 = 57*57
3364 = 58*58
3481 = 59*59
3600 = 60*60
3721 = 61*61
3844 = 62*62
3969 = 63*63
4096 = 64*64
4225 = 65*65
4356 = 66*66
4489 = 67*67
4624 = 68*68
4761 = 69*69
4900 = 70*70
5041 = 71*71
5184 = 72*72
5329 = 73*73
5476 = 74*74
5625 = 75*75
5776 = 76*76
5929 = 77*77
6084 = 78*78
6241 = 79*79
6400 = 80*80
6561 = 81*81
6724 = 82*82
6889 = 83*83
7056 = 84*84
7225 = 85*85
7396 = 86*86
7569 = 87*87
7744 = 88*88
7921 = 89*89
8100 = 90*90
8281 = 91*91
8464 = 92*92
8649 = 93*93
8836 = 94*94
9025 = 95*95
9216 = 96*96
9409 = 97*97
9604 = 98*98
9801 = 99*99
10000 = 100*100

I came up with the list for my mathmatics class. It is nice to have, if you are not allowed to use a calculator (training your calculating skills) I created this little php script to print out the numbers, the code are just below.

<?php
// kvadrat tal
$x=1;
while($x<101){
$kvadrattal=$x*$x;
echo "<u><b>".$kvadrattal."</b></u> = ".$x."*".$x."<br>";
$x++;
}
?>

Leave a comment

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *