Sander Land wrote: > A few higher ones: > 9997: |||||||||||||||||x||||x|||||||x|||||||x|||+| (49) > 9998: |||||||||||||||||x||||x|||||||x|||||||x|||+|| (50) > 9999: |||||||||||||||||x||||x|||||||x|||||||x|||+||| (51) > 10000: |||||x|||||x|||||x|||||x||||x|||| (38) > 10001: |||||x|||||x|||||x|||||x||||x||||+| (41) > 10002: |||||x|||||x|||||x|||||x||||x||||+|| (42) > 10003: |||||x|||||x|||||x|||||x||||x||||+||| (43) same here According to my program here are the first ten integers that need two '+'s: 373: (1 + 3x4 + 3x6x4x5) -> 38 958: (1 + 3x4 + 3x3x3x5x7) -> 43 1069: (1 + 3x4 + 11x4x4x6) -> 45 1113: (1 + 3x4 + 5x5x4x11) -> 45 1117: (1 + 4x4 + 5x5x4x11) -> 46 1119: (1 + 3x6 + 5x5x4x11) -> 47 1165: (1 + 3x4 + 4x6x3x4x4) -> 43 1169: (1 + 4x4 + 4x6x3x4x4) -> 44 1273: (1 + 3x4 + 5x7x6x6) -> 44 1293: (1 + 3x4 + 4x5x4x4x4) -> 43 Anyone know which the first one to need 3 is? -- Posted via http://www.ruby-forum.com/.