login
A161446
Numbers n such that A160700(n) = 6.
17
6, 23, 36, 53, 66, 83, 96, 113, 142, 159, 172, 189, 202, 219, 232, 249, 263, 278, 293, 308, 323, 338, 353, 368, 399, 414, 429, 444, 459, 474, 489, 504, 516, 533, 550, 567, 576, 593, 610, 627, 652, 669, 686, 703, 712, 729, 746, 763, 773, 788, 807, 822, 833
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)==6, return(k))) \\ Charles R Greathouse IV, Jan 25 2018
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 10 2009
STATUS
approved