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
