login
A161452
Numbers m such that A160700(m) = 12.
17
12, 29, 46, 63, 72, 89, 106, 123, 132, 149, 166, 183, 192, 209, 226, 243, 269, 284, 303, 318, 329, 344, 363, 378, 389, 404, 423, 438, 449, 464, 483, 498, 526, 543, 556, 573, 586, 603, 616, 633, 646, 663, 676, 693, 706, 723, 736, 753, 783, 798, 813, 828, 843
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)==12, return(k))) \\ Charles R Greathouse IV, Jan 25 2018
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 10 2009
STATUS
approved