OFFSET
1,6
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
PROG
(Haskell)
import Data.List (delete)
a037285 n
| a209229 n == 1 = 0
| a010051 n == 1 = 0
| otherwise = read $ concat $ (map show) $ delete n $ tail $ a182469_row n
-- Reinhard Zumkeller, May 01 2012
(Python)
from sympy import divisors
def a(n):
nontrivial_odd_divisors = [d for d in divisors(n)[1:-1] if d%2 == 1]
if len(nontrivial_odd_divisors) == 0: return 0
else: return int("".join(str(d) for d in nontrivial_odd_divisors))
print([a(n) for n in range(1, 70)]) # Michael S. Branicky, Dec 31 2020
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman
STATUS
approved