login
A390294
Numbers k with a prime factor other than 2 or 5 such that digsum(k) = digsum(repeating period of 1/k).
0
3, 6, 12, 15, 24, 30, 60, 120, 150, 240, 300, 303, 600, 606, 1200, 1500, 1515, 2400, 2424, 3000, 3030, 6000, 6060, 8943, 12000, 13332, 15000, 15150, 19392, 24000, 24240, 30000, 30300, 53328, 54546, 60000, 60600, 76857, 89430, 106656, 120000, 133320, 136365, 150000
OFFSET
1,1
COMMENTS
If k is in the sequence then so is 10*k. - David A. Corneth, Oct 31 2025
FORMULA
a(n) mod 3 = 0.
EXAMPLE
3 is a term, because 3 and the repeating period of its reciprocal 3 have both the same digit sum: 3.
6 is a term, because 6 and the repeating period of its reciprocal 6 have both the same digit sum: 6.
606 is a term, because 606 and the repeating period of its reciprocal 0165 have both the same digit sum: 12.
8943 is a term, because 8943 and the repeating period of its reciprocal 0001118193 have both the same digit sum: 24.
MATHEMATICA
q[k_] := Times @@ ({2, 5}^IntegerExponent[k, {2, 5}]) < k && DigitSum[k] == Total[RealDigits[1/k][[1, -1]]]; Select[Range[50000], q] (* Amiram Eldar, Oct 31 2025 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jean-Marc Rebert, Oct 31 2025
EXTENSIONS
More terms from Amiram Eldar, Oct 31 2025
STATUS
approved