cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A106647 Replace even digits d of n with 1+d/2.

This page as a plain text file.
%I A106647 #7 Feb 09 2019 18:55:13
%S A106647 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,
%T A106647 24,27,25,29,31,31,32,33,33,35,34,37,35,39,31,31,32,33,33,35,34,37,35,
%U A106647 39,51,51,52,53,53,55,54,57,55,59,41,41,42,43,43,45,44,47,45,49,71,71,72
%N A106647 Replace even digits d of n with 1+d/2.
%C A106647 Differs from A029579 starting with 11th-term: a(11)=11, A029579(11)=6. Cf. A107128.
%t A106647 a[n_]:=FromDigits[Map[If[Mod[ #, 2]==0, 1+#/2, # ]&, IntegerDigits[n]]]; Table[a[n], {n, 0, 100}]
%t A106647 Table[FromDigits[If[EvenQ[#],#/2+1,#]&/@IntegerDigits[n]],{n,0,80}] (* _Harvey P. Dale_, Feb 09 2019 *)
%Y A106647 Cf. A029579, A107128.
%K A106647 nonn,base
%O A106647 0,3
%A A106647 _Zak Seidov_, May 12 2005