login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A062923
Numbers k that, when expressed in base 4 and then interpreted in base 8, give a multiple of k.
12
0, 1, 2, 3, 4, 8, 12, 16, 30, 32, 48, 64, 120, 128, 166, 192, 256, 278, 480, 512, 664, 765, 768, 1024, 1112, 1390, 1682, 1803, 1920, 2048, 2426, 2656, 3060, 3072, 4096, 4365, 4448, 5446, 5560, 6728, 7212, 7441, 7680, 8192, 9704, 9945, 10624, 12240, 12288, 16384, 17460
OFFSET
1,3
LINKS
EXAMPLE
8 in base 4 is 20, which interpreted in base 8 is 16 = 2*8.
MATHEMATICA
Join[{0}, Select[Range[18000], Mod[FromDigits[IntegerDigits[#, 4], 8], #]==0&]] (* Harvey P. Dale, Feb 10 2024 *)
KEYWORD
base,nonn
AUTHOR
Erich Friedman, Jul 21 2001
EXTENSIONS
Offset changed to 1 and more terms from Georg Fischer, Mar 13 2023
STATUS
approved