OFFSET
1,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
dtn[ L_ ] := Fold[ 10#1+#2&, 0, L ] Array[ dtn[ Flatten[ Map[ IntegerDigits, Select[ Divisors[ # ], OddQ ] ] ] ]&, 50 ]
cod[n_]:=FromDigits[Flatten[IntegerDigits/@Select[Divisors[n], OddQ]]]; Array[cod, 60] (* Harvey P. Dale, Jan 24 2014 *)
PROG
(Haskell)
a037283 = read . concat . (map show) . a182469_row :: Integer -> Integer
-- Reinhard Zumkeller, May 01 2012
(Python)
from sympy import divisors
def a(n): return int("".join(str(d) for d in divisors(n) if d%2==1))
print([a(n) for n in range(1, 52)]) # Michael S. Branicky, Dec 31 2020
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman
STATUS
approved