Find the smallest positive integer which ends in n, is divisible by n and whose digits sum to n – codegolf.stackexchange.com 04:08 Posted by Unknown No Comments It's all in the title... Take as input a positive integer n>=12 and... do what the title says. Yes, this is on OEIS A187924. Some test cases 12 -> 912 13 -> 11713 14 -> 6314 15 ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "Find the smallest positive integer which ends in n, is divisible by n and whose digits sum to n – codegolf.stackexchange.com"
Post a Comment