OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
FromDigits[Flatten[IntegerDigits/@Rest[Divisors[#]]]]&/@Range[40] (* Harvey P. Dale, Nov 06 2011 *)
PROG
(Haskell)
a037277 1 = 0
a037277 n = read $ concat $ map show $ tail $ a027750_row n
-- Reinhard Zumkeller, May 01 2012, Feb 07 2011
(Python)
from sympy import divisors
def a(n):
divisors_gt1 = divisors(n)[1:]
if len(divisors_gt1) == 0: return 0
else: return int("".join(str(d) for d in divisors_gt1))
print([a(n) for n in range(1, 40)]) # Michael S. Branicky, Dec 31 2020
CROSSREFS
KEYWORD
nonn,easy,base,nice
AUTHOR
EXTENSIONS
More terms from Erich Friedman
STATUS
approved