A062847 When expressed in base 2 and then interpreted in base 6, is a multiple of the original number.
0, 1, 2, 4, 6, 8, 12, 16, 24, 32, 36, 48, 64, 66, 72, 96, 128, 132, 144, 174, 186, 192, 216, 252, 256, 264, 288, 348, 372, 384, 396, 432, 462, 504, 512, 528, 576, 696, 744, 768, 792, 864, 924, 1008, 1024, 1056, 1152, 1296, 1392, 1488, 1512, 1536, 1584, 1728
Offset: 1
Examples
12 in base 2 is 1100, which interpreted in base 6 is 252=21*12.
Links
- Dimiter Skordev, Table of n, a(n) for n = 1..550 (terms less than 10^7)
- Dimiter Skordev, Python script
Crossrefs
Programs
-
Magma
[0] cat [k:k in [1..1750]|Seqint(Intseq(Seqint(Intseq(k, 2))), 6) mod k eq 0]; // Marius A. Burtea, Feb 02 2020
-
PARI
isok(n) = (n==0) || ((fromdigits(digits(n, 2), 6) % n) == 0); \\ Michel Marcus, Feb 01 2020
Comments