A062923 Numbers k that, when expressed in base 4 and then interpreted in base 8, give a multiple of k.
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
Examples
8 in base 4 is 20, which interpreted in base 8 is 16 = 2*8.
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..100
Crossrefs
Programs
-
Mathematica
Join[{0},Select[Range[18000],Mod[FromDigits[IntegerDigits[#,4],8],#]==0&]] (* Harvey P. Dale, Feb 10 2024 *)
Extensions
Offset changed to 1 and more terms from Georg Fischer, Mar 13 2023
Comments