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
KEYWORD
base,nonn
AUTHOR
Ray Chandler, Jul 12 2004
STATUS
approved