login
A161444
Numbers n such that A160700(n) = 4.
17
4, 21, 38, 55, 64, 81, 98, 115, 140, 157, 174, 191, 200, 217, 234, 251, 261, 276, 295, 310, 321, 336, 355, 370, 397, 412, 431, 446, 457, 472, 491, 506, 518, 535, 548, 565, 578, 595, 608, 625, 654, 671, 684, 701, 714, 731, 744, 761, 775, 790, 805, 820, 835
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)==4, return(k))) \\ Charles R Greathouse IV, Jan 25 2018
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 10 2009
STATUS
approved