login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106647 Replace even digits d of n with 1+d/2. 0

%I #7 Feb 09 2019 18:55:13

%S 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 24,27,25,29,31,31,32,33,33,35,34,37,35,39,31,31,32,33,33,35,34,37,35,

%U 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 Replace even digits d of n with 1+d/2.

%C Differs from A029579 starting with 11th-term: a(11)=11, A029579(11)=6. Cf. A107128.

%t a[n_]:=FromDigits[Map[If[Mod[ #, 2]==0, 1+#/2, # ]&, IntegerDigits[n]]]; Table[a[n], {n, 0, 100}]

%t Table[FromDigits[If[EvenQ[#],#/2+1,#]&/@IntegerDigits[n]],{n,0,80}] (* _Harvey P. Dale_, Feb 09 2019 *)

%Y Cf. A029579, A107128.

%K nonn,base

%O 0,3

%A _Zak Seidov_, May 12 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)