Skip to content

A178207

OEIS Lean4

a(n) = 4*n - 2*A000120(n) + 1 where A000120(n) = number of nonzero digits in the binary representation of n.

offset: 0
codomain: ℕ
n0123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A17820713791517212331333739454751536365697177798385939599101107109113115127129133135141143147149157159163165171173177179189191195197203205209211219221225227233235239241255257261263269271275277285287291293299301305307317319323325331333337339347349353355361363367369381383387389395