login
A106647
Replace even digits d of n with 1+d/2.
0
1, 1, 2, 3, 3, 5, 4, 7, 5, 9, 11, 11, 12, 13, 13, 15, 14, 17, 15, 19, 21, 21, 22, 23, 23, 25, 24, 27, 25, 29, 31, 31, 32, 33, 33, 35, 34, 37, 35, 39, 31, 31, 32, 33, 33, 35, 34, 37, 35, 39, 51, 51, 52, 53, 53, 55, 54, 57, 55, 59, 41, 41, 42, 43, 43, 45, 44, 47, 45, 49, 71, 71, 72
OFFSET
0,3
COMMENTS
Differs from A029579 starting with 11th-term: a(11)=11, A029579(11)=6. Cf. A107128.
MATHEMATICA
a[n_]:=FromDigits[Map[If[Mod[ #, 2]==0, 1+#/2, # ]&, IntegerDigits[n]]]; Table[a[n], {n, 0, 100}]
Table[FromDigits[If[EvenQ[#], #/2+1, #]&/@IntegerDigits[n]], {n, 0, 80}] (* Harvey P. Dale, Feb 09 2019 *)
CROSSREFS
Sequence in context: A057859 A242992 A029579 * A130157 A265018 A238792
KEYWORD
nonn,base
AUTHOR
Zak Seidov, May 12 2005
STATUS
approved