Can someone please post the sum from n = 1 to 50 of f(n)/n? I'm eight off the correct value for n = 1 to 100
Thanks!
It is currently Fri Sep 04, 2026 11:22 pm
I agree with you it would be so much easier without it, btw is it possible to find f(9999) with an "ameliorated" brute force, or that's totally impossible (and I should find a clever solutionDamn you euler - you had to include f(9999) in the brief!


where R(k) is the kth repunit, i.e. the number consisting of k ones.Given that n is a positive integer and GCD(n, 10) = 1, it can be shown that there always exists a value, k, for which R(k) is divisible by n
Can someone post the answer or PM it me pleasesinac wrote:Can someone please post the sum from n = 1 to 1000 of f(n)/n?
I take it that you are joking.Lotes wrote:Can someone post the answer or PM it me pleasesinac wrote:Can someone please post the sum from n = 1 to 1000 of f(n)/n??

[(1, 2), (2, 10), (3, 12), (4, 12), (5, 10), (6, 12), (7, 21), (8, 112), (9, 12222), (10, 20), (11, 22), (12, 120), (13, 221), (14, 112), (15, 120), (16, 112), (17, 102), (18, 12222), (19, 1102), (20, 100), (21, 210), (22, 110), (23, 1012), (24, 120), (25, 100), (26, 1222), (27, 21222), (28, 112), (29, 1102), (30, 120), (31, 2201), (32, 1120), (33, 1122), (34, 102), (35, 210), (36, 22212), (37, 111), (38, 1102), (39, 10101), (40, 120), (41, 11111), (42, 210), (43, 2021), (44, 220), (45, 122220), (46, 1012), (47, 1222), (48, 1200), (49, 11221), (50, 100)]
n itself is also a multiple of n (namely one times n).xe3tec wrote:for 1 to 50 I get 7550...I dont see the mistake, anyone?
f(n)/n also follows a predictable pattern for the 9's, there might be a function that gives f(n)/n for these numbers?jasa wrote:Regarding the numbers consisting only of nines, e.g. 9, 99, ... then
f(n) follows an interesting pattern...
I don't know if it is provable...