login
Numbers n such that A160700(n) = 10.
17

%I #6 Jan 25 2018 10:10:15

%S 10,27,40,57,78,95,108,125,130,147,160,177,198,215,228,245,267,282,

%T 297,312,335,350,365,380,387,402,417,432,455,470,485,500,520,537,554,

%U 571,588,605,622,639,640,657,674,691,708,725,742,759,777,792,811,826,845

%N Numbers n such that A160700(n) = 10.

%H Charles R Greathouse IV, <a href="/A161450/b161450.txt">Table of n, a(n) for n = 1..10000</a>

%F 16n - 16 <= a(n) <= 16n - 1. - _Charles R Greathouse IV_, Jan 25 2018

%o (PARI) A160700(n)=my(t=n%16); while(n>15, n>>=4; t=bitxor(t, n%16)); t

%o a(n)=for(k=16*n-16, 16*n-1, if(a(k)==10, return(k))) \\ _Charles R Greathouse IV_, Jan 25 2018

%Y Cf. A161440, A161441, A161442, A161443, A161444, A161445, A161446, A161447, A161448, A161449, A161451, A161452, A161453, A161454, A161455.

%K nonn,easy

%O 1,1

%A _Reinhard Zumkeller_, Jun 10 2009