login
A161449
Numbers n such that A160700(n) = 9.
17
9, 24, 43, 58, 77, 92, 111, 126, 129, 144, 163, 178, 197, 212, 231, 246, 264, 281, 298, 315, 332, 349, 366, 383, 384, 401, 418, 435, 452, 469, 486, 503, 523, 538, 553, 568, 591, 606, 621, 636, 643, 658, 673, 688, 711, 726, 741, 756, 778, 795, 808, 825, 846
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)==9, return(k))) \\ Charles R Greathouse IV, Jan 25 2018
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 10 2009
STATUS
approved