OFFSET
0,2
COMMENTS
Here 0.d means the decimal fraction obtained by writing d after the decimal point, e.g., 0.12 = 12/100 = 3/25.
The first few values of Sum_{d|n} 0.d are 1/10, 3/10, 2/5, 7/10, 3/5, 6/5, 4/5, 3/2, 13/10, 9/10, 21/100, 43/25, ...
LINKS
Chai Wah Wu, Table of n, a(n) for n = 0..477
MATHEMATICA
Table[k = 1; While[Floor@ Total@ (#*1/10^(1 + Floor@ Log10@ #)) != n &@ Divisors@ k, k++]; k, {n, 0, 40}] (* Michael De Vlieger, Sep 06 2016 *)
PROG
A276480:=func<n|exists(r){k:k in[1..100000] | Floor(&+[d / (10^(#Intseq(d))): d in Divisors(k)]) eq n}select r else 0>; [A276480(n): n in[0..45]]
(PARI) a(n) = {k = 1; while(floor(sumdiv(k, d, d/10^(#Str(d)))) != n, k++); k; } \\ Michel Marcus, Sep 05 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Sep 05 2016
STATUS
approved