login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037284 Replace n with concatenation of its odd divisors >1. 5
0, 0, 3, 0, 5, 3, 7, 0, 39, 5, 11, 3, 13, 7, 3515, 0, 17, 39, 19, 5, 3721, 11, 23, 3, 525, 13, 3927, 7, 29, 3515, 31, 0, 31133, 17, 5735, 39, 37, 19, 31339, 5, 41, 3721, 43, 11, 3591545, 23, 47, 3, 749, 525, 31751 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Array[FromDigits[Flatten[IntegerDigits/@Rest[Select[Divisors[#], OddQ]]]]&, 60] (* Harvey P. Dale, Mar 03 2014 *)
PROG
(Haskell)
a037284 n
| a209229 n == 1 = 0
| otherwise = read $ concat $ (map show) $ tail $ a182469_row n
-- Reinhard Zumkeller, May 01 2012]
(Python)
from sympy import divisors
def a(n):
odd_divisors_gt1 = [d for d in divisors(n)[1:] if d%2 == 1]
if len(odd_divisors_gt1) == 0: return 0
else: return int("".join(str(d) for d in odd_divisors_gt1))
print([a(n) for n in range(1, 52)]) # Michael S. Branicky, Dec 31 2020
CROSSREFS
Sequence in context: A366840 A284233 A326990 * A225058 A002123 A276408
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
a(36) corrected by Reinhard Zumkeller, May 01 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 15:03 EDT 2024. Contains 371794 sequences. (Running on oeis4.)