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!)
A078244 Smallest multiple of n using only digits 0 and 5. 3
5, 50, 555, 500, 5, 5550, 5005, 5000, 555555555, 50, 55, 55500, 5005, 50050, 555, 50000, 55505, 5555555550, 55005, 500, 50505, 550, 550505, 555000, 50, 50050, 5505555555, 500500, 5505505, 5550, 555055, 500000, 555555, 555050, 5005 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) = min{A169964(k): k > 1 and A169964(k) mod n = 0}. [Reinhard Zumkeller, Jan 10 2012]
LINKS
MATHEMATICA
Module[{mlts=Rest[FromDigits/@Tuples[{0, 5}, 12]]}, Table[ SelectFirst[ mlts, Divisible[ #, n]&], {n, 40}]] (* Harvey P. Dale, Aug 14 2021 *)
PROG
(Haskell)
a078244 n = head [x | x <- tail a169964_list, mod x n == 0]
-- Reinhard Zumkeller, Jan 10 2012
CROSSREFS
Sequence in context: A079157 A286974 A199762 * A233068 A237020 A156058
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 23 2002
EXTENSIONS
More terms from Ray Chandler, Jul 12 2004
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 July 13 20:42 EDT 2024. Contains 374288 sequences. (Running on oeis4.)