A343129 Numbers that are palindromes in base 3/2.
0, 1, 2, 5, 8, 17, 35, 170, 278, 422, 494
Offset: 0
Examples
0: 0 1: 1 2: 2 5: 22 8: 212 17: 21012 35: 212212 170: 2120220212 278: 21221112212 422: 2101100011012 494: 2120010100212
Links
- Matvey Borodin, Hannah Han, Kaylee Ji, Tanya Khovanova, Alexander Peng, David Sun, Isabel Tu, Jason Yang, William Yang, Kevin Zhang, and Kevin Zhao, Variants of Base 3 over 2, arXiv:1901.09818 [math.NT], 2019.
- B. Chen, R. Chen, J. Guo, S. Lee et al., On Base 3/2 and its sequences, arXiv:1808.04304 [math.NT], 2018.
Crossrefs
Cf. A024629.
Programs
-
Mathematica
(* All terms <= 500: *) b = {}; a[n_] := If[n < 1, 0, a[Quotient[n, 3] 2] 10 + Mod[n, 3]]; Do[If[PalindromeQ[a[n]], AppendTo[b, n], Nothing], {n, 0, 500}]; b
Comments