OFFSET
0,4
COMMENTS
a(n) = A227048(n,1). - Reinhard Zumkeller, Jun 30 2013
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..1000
EXAMPLE
a(3)=11 because 3^3 = 27 and 27 - 16 = 11.
MATHEMATICA
Table[# - 2^Floor@ Log2@ # &[3^n], {n, 0, 24}] (* Michael De Vlieger, Sep 30 2017 *)
PROG
(Haskell)
a056577 = head . a227048_row -- Reinhard Zumkeller, Jun 30 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jun 29 2000
STATUS
approved