login
A161448
Numbers n such that A160700(n) = 8.
17
8, 25, 42, 59, 76, 93, 110, 127, 128, 145, 162, 179, 196, 213, 230, 247, 265, 280, 299, 314, 333, 348, 367, 382, 385, 400, 419, 434, 453, 468, 487, 502, 522, 539, 552, 569, 590, 607, 620, 637, 642, 659, 672, 689, 710, 727, 740, 757, 779, 794, 809, 824, 847
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
16n - 16 <= a(n) <= 16n - 1. - Charles R Greathouse IV, Jan 25 2018
PROG
(PARI) A160700(n)=my(t=n%16); while(n>15, n>>=4; t=bitxor(t, n%16)); t
a(n)=for(k=16*n-16, 16*n-1, if(a(k)==8, return(k))) \\ Charles R Greathouse IV, Jan 25 2018
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 10 2009
STATUS
approved