A043329 Duplicate of A023699.
2, 5, 6, 7, 11, 14, 15, 16, 18, 19, 21, 22, 29, 32, 33, 34, 38, 41, 42, 43, 45
Offset: 1
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
Nest[ Join[#, #, 2#] &, {1}, 5] (* Robert G. Wilson v, Jul 27 2014 *)
a(n) = 1 << hammingweight(digits(n,3)>>1); \\ Kevin Ryde, Nov 15 2020
from gmpy2 import digits def A117592(n): return 1<Chai Wah Wu, Dec 05 2024
Select[Range[1000], DigitCount[#, 3, {1, 2}] == {2, 1} &] (* Amiram Eldar, Apr 07 2022 *)
Comments