More Programming

composite-numbers-program.pdf

———————-

/usr/bin/python3.7 /home/maurice/math1.py

composite, num divisors, divisors minus 1 and itself

5022 20 [2, 3, 6, 9, 18, 27, 31, 54, 62, 81, 93, 162, 186, 279, 558, 837, 1674, 2511] 5024 12 [2, 4, 8, 16, 32, 157, 314, 628, 1256, 2512]

5025 12 [3, 5, 15, 25, 67, 75, 201, 335, 1005, 1675]

5026 8 [2, 7, 14, 359, 718, 2513]

5027 4 [11, 457]

5028 12 [2, 3, 4, 6, 12, 419, 838, 1257, 1676, 2514]

5029 4 [47, 107]

5030 8 [2, 5, 10, 503, 1006, 2515]

5031 12 [3, 9, 13, 39, 43, 117, 129, 387, 559, 1677]

5032 16 [2, 4, 8, 17, 34, 37, 68, 74, 136, 148, 296, 629, 1258, 2516]

5033 4 [7, 719]

5034 8 [2, 3, 6, 839, 1678, 2517]

5035 8 [5, 19, 53, 95, 265, 1007]

5036 6 [2, 4, 1259, 2518]

5037 8 [3, 23, 69, 73, 219, 1679]

5038 8 [2, 11, 22, 229, 458, 2519]

5040 60 [2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 28, 30, 35, 36, 40, 42, 45, 48, 56, 60, 63, 70, 72, 80, 84, 90, 105, 112, 120, 126, 140, 144, 168, 180, 210, 240, 252, 280, 315, 336, 360, 420, 504, 560, 630, 720, 840, 1008, 1260, 1680, 2520]

5041 3 [71]

5042 4 [2, 2521]

5043 6 [3, 41, 123, 1681]

5044 12 [2, 4, 13, 26, 52, 97, 194, 388, 1261, 2522]

5045 4 [5, 1009]

5046 12 [2, 3, 6, 29, 58, 87, 174, 841, 1682, 2523]

5047 6 [7, 49, 103, 721]

5048 8 [2, 4, 8, 631, 1262, 2524]

5049 16 [3, 9, 11, 17, 27, 33, 51, 99, 153, 187, 297, 459, 561, 1683]

26 composite numbers were found between the numbers 5022 and 5050 inclusive. Process finished with exit code 0

If you’d like to learn about programming, configure your computer for programming in Python, FORTRAN 90 or any other languages, just call 229-883-3996 between 4PM and 1AM any day of the week.

We also have economical computers configured for programming. We’re open Monday through Saturday between 5PM and midnight.

Desktop Bargains

Here’s a nice bargain on an all-in-one touchscreen with memory upgraded to 4GB and the OS upgraded to Windows 10.

The $185 includes a new Logitech keyboard and mouse.

There is also a new 320GB hard drive.

There are some other even lower priced Linux systems with programming tools included (Python3 and Fortran90).