Page 2 of 2

Re: Problem 118

Posted: Sun Sep 08, 2019 10:28 pm
by RishadanPort
hmmpf

I'm pretty sure I have the right solution - code runs fast, but apparently there is a bug somewhere...

If anyone wants to have a look at my code, I'd appreciate it. (Using C#)

:D

-- NM figured it out.

Re: Problem 118

Posted: Fri Dec 29, 2023 6:21 am
by laogui
@francky @spacetweek a single number is clearly impossible since it will be divisible by 9;
two is the minimum and five is the maximum corresponding to partitions of 9 like (1,8), (4,5) and (1,1,1,1,5) or(1,2,2,2,2)

Looking at the (1,2,2,2,2) partition, the single digit must be 2 or 5 (since 2 4 5 6 8 require 5, not 4 2-digit primes
and we get (2,41/47,53/59,67/61,89/83) or (5,23/29,41/47,67/61,89/83) or 8 sets of (1,2,2,2,2). That's about the only partition of 9 I can do by hand!