For how many integer values of n between 1 and 1000 inclusive does the decimal representation of n/1375 terminate?
Answer by computer program
for (n = 1..1375)
if (terminate(n/1375) == 1) {count = count + 1}
output(count)
output = 147
11 , 22 , 33 , 44 , 55 , 66 , 77 , 88 , 99 , 110 , 121 , 132 , 143 , 154 , 165 , 176 , 187 , 198 , 209 , 220 , 231 , 242 , 253 , 264 , 275 , 286 , 297 , 308 , 319 , 330 , 341 , 352 , 363 , 374 , 385 , 396 , 407 , 418 , 429 , 440 , 451 , 462 , 473 , 484 , 495 , 506 , 517 , 528 , 539 , 550 , 561 , 572 , 583 , 594 , 605 , 616 , 627 , 638 , 649 , 660 , 671 , 682 , 693 , 704 , 715 , 726 , 737 , 748 , 759 , 770 , 781 , 792 , 803 , 814 , 825 , 836 , 847 , 858 , 869 , 880 , 891 , 902 , 913 , 924 , 935 , 946 , 957 , 968 , 979 , 990 , Total = 90 such numbers.