This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A096681 Least k such that decimal representation of k*n contains only digits 0 and 2. 18
 2, 1, 74, 5, 4, 37, 286, 25, 24691358, 2, 2, 185, 154, 143, 148, 125, 1306, 12345679, 1158, 1, 962, 1, 9574, 925, 8, 77, 81563786, 715, 75938, 74, 7162, 625, 6734, 653, 572, 61728395, 6, 579, 518, 5, 542, 481, 51214, 5, 49382716, 4787, 426, 4625, 44898 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Robert G. Wilson v, Table of n, a(n) for n = 1..10000 FORMULA a(n) = A078241(n)/n. PROG (PARI) isok(n) = my(vd = vecsort(digits(n), , 8)); (vd == [0, 2]) || (vd == [2]); a(n) = my(k=1); while(!isok(k*n), k++); k; \\ Michel Marcus, Sep 25 2016 CROSSREFS Cf. A004290, A078241-A078248, A079339, A096682, A096683, A096684, A096685, A096686, A096687, A096688. Sequence in context: A233472 A284596 A216485 * A247793 A067276 A118580 Adjacent sequences:  A096678 A096679 A096680 * A096682 A096683 A096684 KEYWORD base,nonn AUTHOR 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified July 19 08:23 EDT 2019. Contains 325155 sequences. (Running on oeis4.)