OFFSET
1,2
COMMENTS
This sequence is infinite. Given any arbitrarily large number, the last 4 binary bits can be set to 0, and, if this number does not already meet the criteria, one of the last 4 bits can be increased to 1 such that it does.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
EXAMPLE
19 is a term: 19 = 10011_2 -> 10011_3 = 85 = 17 * 5.
MATHEMATICA
Select[Range[0, 300], Divisible[FromDigits[IntegerDigits[#, 2], 3], 5] &] (* Paolo Xausa, Dec 22 2024 *)
PROG
(PARI) is(n) = fromdigits(binary(n), 3)%5 == 0 \\ David A. Corneth, Dec 02 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Kyle David Krueger, Dec 02 2024
STATUS
approved