Basicprogramming(.org) > Code and examples
Multiplication with all decimal digits
B+:
I am running an all digits Twice program, past 2 hours now, anyone want to guess how many of those there are?
B+:
I killed the program after running it for about 20 hours.
At item #186,110
321 * 4069875 = 1306429875 kinda neat how last 3 digits match.
I was running it back from multiplying two 5 digit numbers and I realized it would take days to get through double and single digit numbers.
Ha! I originally thought maybe DIM an array to store 500 or so. :P
B+:
Just 5 digit * 5 digit = 10 digit
--- Quote --- 93471 * 94215 = 8806370265
93462 * 93576 = 8745800112
93408 * 93702 = 8752516416
93402 * 93708 = 8752514616
93352 * 94006 = 8775648112
93252 * 95163 = 8874140076
93237 * 94566 = 8817050142
93205 * 94603 = 8817472615
93175 * 94732 = 8826654100
93157 * 93418 = 8702540626
93126 * 95145 = 8860473270
93103 * 95074 = 8851674622
93072 * 95127 = 8853660144
93052 * 93514 = 8701664728
93048 * 94215 = 8766517320
93046 * 94375 = 8781216250
93025 * 94234 = 8766117850
93016 * 95314 = 8865727024
92853 * 94410 = 8766251730
92802 * 94353 = 8756147106
92785 * 93304 = 8657211640
92772 * 95013 = 8814546036
92764 * 94180 = 8736513520
92764 * 95134 = 8825010376
92730 * 93417 = 8662558410
...
10567 * 99634 = 1052832478
10566 * 97443 = 1029582738
10564 * 98377 = 1039254628
10557 * 98478 = 1039632246
10542 * 99258 = 1046377836
10482 * 97653 = 1023598746
10479 * 98556 = 1032768324
10456 * 99223 = 1037475688
10452 * 99267 = 1037538684
10435 * 98479 = 1027628365
10372 * 99748 = 1034586256
10359 * 98874 = 1024235766 item# 39712
--- End quote ---
Navigation
[0] Message Index
[*] Previous page
Go to full version