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!)
A187285 Smallest multiple of n beginning with 1. 3
1, 10, 12, 12, 10, 12, 14, 16, 18, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 100, 105, 110, 115, 120, 100, 104, 108, 112, 116, 120, 124, 128, 132, 102, 105, 108, 111, 114, 117, 120, 123, 126, 129, 132, 135, 138, 141, 144, 147, 100, 102, 104, 106, 108, 110 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(n) is in {n, 2n, 3n, 4n, 5n}. [Charles R Greathouse IV, Mar 07 2011]

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

MATHEMATICA

f[n_] := Block[{m = n}, While[ First@ IntegerDigits@ m != 1, m += n]; m]; Array[f, 55]

PROG

(PARI) a(n)=forstep(k=n, 5*n, n, if(Vec(Str(k))[1]=="1", return(k))) \\ Charles R Greathouse IV, Mar 07 2011

(Haskell)

a187285 n = until ((== 1) . a000030) (+ n) n

-- Reinhard Zumkeller, Mar 27 2012

CROSSREFS

Cf. A082811, A082792, A082794, A082795, A082796, A082797, A082798, A187090.

Cf. A000030.

Sequence in context: A103618 A308781 A317180 * A098732 A301860 A109394

Adjacent sequences:  A187282 A187283 A187284 * A187286 A187287 A187288

KEYWORD

base,nonn

AUTHOR

Robert G. Wilson v, Mar 07 2011

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 June 28 04:00 EDT 2022. Contains 354903 sequences. (Running on oeis4.)