a.What two-digit number equals the product of units' digit by the factorial of tens' digit?
b. What if a non-decimal system (base below ten) were allowed?
(In reply to
re(4): beyond base 10, analytical solution....TBC by Charlie)
1562090 7 2170
1567129 7 2177
1572168 7 2184
1577207 7 2191
1582246 7 2198
1587285 7 2205
1592324 7 2212
1597363 7 2219
1602402 7 2226
1607441 7 2233
1612480 7 2240
1617519 7 2247
1622558 7 2254
1627597 7 2261
1632636 7 2268
1637675 7 2275
1642714 7 2282
1647753 7 2289
1652792 7 2296
1657831 7 2303
1662870 7 2310
1667909 7 2317
1672948 7 2324
1677987 7 2331
1683026 7 2338
1688065 7 2345
1693104 7 2352
1698143 7 2359
1703182 7 2366
1708221 7 2373
1713260 7 2380
1718299 7 2387
1723338 7 2394
1728377 7 2401
1733416 7 2408
1738455 7 2415
1743494 7 2422
1748533 7 2429
1753572 7 2436
1758611 7 2443
1763650 7 2450
1768689 7 2457
1773728 7 2464
1778767 7 2471
1783806 7 2478
1788845 7 2485
1793884 7 2492
1798923 7 2499
1803962 7 2506
1809001 7 2513
1814040 7 2520
1819079 7 2527
1824118 7 2534
1829157 7 2541
1834196 7 2548
1839235 7 2555
1844274 7 2562
1849313 7 2569
1854352 7 2576
1859391 7 2583
1864430 7 2590
1869469 7 2597
1874508 7 2604
1879547 7 2611
1884586 7 2618
1889625 7 2625
1894664 7 2632
1899703 7 2639
1904742 7 2646
1909781 7 2653
1914820 7 2660
1919859 7 2667
1924898 7 2674
1929937 7 2681
1934976 7 2688
1940015 7 2695
1945054 7 2702
1950093 7 2709
1955132 7 2716
1960171 7 2723
1965210 7 2730
1970249 7 2737
1975288 7 2744
1980327 7 2751
1985366 7 2758
1990405 7 2765
1995444 7 2772
2000483 7 2779
2005522 7 2786
2010561 7 2793
2015600 7 2800
2020639 7 2807
2025678 7 2814
2030717 7 2821
2035756 7 2828
2040795 7 2835
2045834 7 2842
2050873 7 2849
2055912 7 2856
2060951 7 2863
2065990 7 2870
2071029 7 2877
2076068 7 2884
2081107 7 2891
2086146 7 2898
2091185 7 2905
2096224 7 2912
2101263 7 2919
2106302 7 2926
2111341 7 2933
2116380 7 2940
2121419 7 2947
2126458 7 2954
2131497 7 2961
2136536 7 2968
2141575 7 2975
2146614 7 2982
2151653 7 2989
2156692 7 2996
2161731 7 3003
2166770 7 3010
2171809 7 3017
2176848 7 3024
2181887 7 3031
2186926 7 3038
2191965 7 3045
2197004 7 3052
2202043 7 3059
2207082 7 3066
2212121 7 3073
2217160 7 3080
2222199 7 3087
2227238 7 3094
2232277 7 3101
2237316 7 3108
2242355 7 3115
2247394 7 3122
2252433 7 3129
2257472 7 3136
2262511 7 3143
2267550 7 3150
2272589 7 3157
2277628 7 3164
2282667 7 3171
2287706 7 3178
2292745 7 3185
2297784 7 3192
2302823 7 3199
2307862 7 3206
2312901 7 3213
2317940 7 3220
2322979 7 3227
2328018 7 3234
2333057 7 3241
2338096 7 3248
2343135 7 3255
2348174 7 3262
2353213 7 3269
2358252 7 3276
2363291 7 3283
2368330 7 3290
2373369 7 3297
2378408 7 3304
2383447 7 3311
2388486 7 3318
2393525 7 3325
2398564 7 3332
2403603 7 3339
2408642 7 3346
2413681 7 3353
2418720 7 3360
2423759 7 3367
2428798 7 3374
2433837 7 3381
2438876 7 3388
2443915 7 3395
2448954 7 3402
2453993 7 3409
2459032 7 3416
2464071 7 3423
2469110 7 3430
2474149 7 3437
2479188 7 3444
2484227 7 3451
2489266 7 3458
2494305 7 3465
2499344 7 3472
2504383 7 3479
2509422 7 3486
2514461 7 3493
2519500 7 3500
For tens = 1 To 7
For k = 1 To 500
DoEvents
units = k * tens
base = units * (fact(tens) - 1) / tens
If base <= units Then Exit For
Text1.Text = Text1.Text & base & " " & Str(tens) & Str(units) & crlf
Next
Next
|
Posted by Charlie
on 2018-06-01 10:48:21 |