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!)
A096687 Least k such that decimal representation of k*n contains only digits 0 and 8. 3
8, 4, 296, 2, 16, 148, 1144, 1, 98765432, 8, 8, 74, 616, 572, 592, 5, 5224, 49382716, 4632, 4, 3848, 4, 38296, 37, 32, 308, 326255144, 286, 303752, 296, 28648, 25, 26936, 2612, 2288, 24691358, 24, 2316, 2072, 2, 2168, 1924, 204856, 2, 197530864, 19148 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Chai Wah Wu, Table of n, a(n) for n = 1..9998

FORMULA

a(n) = A078247(n)/n.

PROG

(Python)

def A096687(n):

....if n > 0:

........for i in range(1, 2**n):

............q, r = divmod(8*int(bin(i)[2:]), n)

............if not r:

................return q

....return 1 # Chai Wah Wu, Jan 02 2015

CROSSREFS

Cf. A004290, A078241-A078248, A079339, A096681-A096688.

Sequence in context: A038282 A268482 A231234 * A326955 A199374 A289538

Adjacent sequences:  A096684 A096685 A096686 * A096688 A096689 A096690

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 16 13:35 EST 2022. Contains 350376 sequences. (Running on oeis4.)