A387069 Numbers whose representation in base b are their representation in base b+1 with a "0" added at the end for some b.
10, 12, 273, 546, 582, 11808655, 34503520, 35555155, 54813136653716, 1066338805156287287067, 1124161332414632881704, 2305867155177711644802, 2306166776784312535170, 5744341611556736174883, 2705154287309969771123575182312
Offset: 1
Examples
a(1) = 10, is 1010 in base 2 and 101 in base 3. a(2) = 12, is 1100 in base 2 and 110 in base 3. a(3) = 273, is 101010 in base 3 and 10101 in base 4.
Links
- Sean A. Irvine, Python program
Programs
-
PARI
isok(k) = for (b=2, k-1, if (digits(k, b) == concat(digits(k, b+1), 0), return(b));); \\ Michel Marcus, Aug 16 2025
Extensions
a(9)-a(15) from Sean A. Irvine, Aug 18 2025
Comments