OFFSET
0,2
COMMENTS
If n has an even number of digits in base 3 then a(n) is a multiple of 4.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = n + A030102(n).
MAPLE
MATHEMATICA
Array[#+FromDigits[Reverse[IntegerDigits[#, 3]], 3]&, 70, 0] (* Harvey P. Dale, Nov 09 2017 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved