Skip to content

A053645

OEIS Lean4

Distance to largest power of 2 less than or equal to n; write n in binary, change the first digit to zero, and convert back to decimal.

offset: 1
codomain: ℕ
n123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
A05364500101230123456701234567891011121314150123456789101112131415161718192021222324252627282930310123456789101112131415161718192021222324252627282930313233343536