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!)
A303492 Numbers m such that m divides A302205(m). 0
1, 2, 3, 4, 6, 8, 9, 10, 12, 16, 18, 20, 24, 27, 30, 32, 36, 40, 48, 60, 64, 72, 80, 90, 96, 100, 112, 120, 128, 130, 144, 160, 180, 184, 190, 192, 200, 224, 240, 249, 256, 260, 270, 279, 288, 300, 306, 320, 360, 384, 400, 401, 408, 412, 480, 512, 520, 528, 558, 576, 600, 612, 640 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
With k = 18, b = 10010, and x = concat(16,0,0,2,0) = 160020, we find that 160020 / 18 = 8890, so 18 is in this sequence.
PROG
(Python)
k = 1000
seq = []
for i in range(1, k+1):
b = bin(i)[2:]
c = len(b)
x = ""
for j in range(c):
x += str(int(pow(2, c-j-1)) * int(b[j]))
y = float(int(x))/float(i)
if y.is_integer():
seq.append(i)
print(seq)
(PARI) isok(n) = {my(b = binary(n)); s = ""; forstep (k=#b, 1, -1, s = concat(s, Str(b[#b-k+1]*2^(k-1)))); eval(s) % n == 0; } \\ Michel Marcus, Apr 26 2018
CROSSREFS
Cf. A302205.
Sequence in context: A227762 A344296 A333506 * A188591 A002183 A349607
KEYWORD
nonn,base
AUTHOR
J. Stauduhar, Apr 24 2018
EXTENSIONS
Edited by N. J. A. Sloane, Apr 26 2018
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 April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)