6300846559 is such that 6 is divisible by 2; 63, by 3; 630, by 5; 6300, by 7; and, in general, if you take its first N digits, it will be divisible by the N-th prime.
There is only one other such 10 digit number: can you find it?
(In reply to re: Solution (VB program)
I have tried recursive logic in the past, but my desktop system seems to run into "stacking" problems. If I were running on a mainframe, that would not be a problem.
Posted by Penny
on 2005-01-04 17:23:43