[go: up one dir, main page]

login
A161451
Numbers n such that A160700(n) = 11.
17
11, 26, 41, 56, 79, 94, 109, 124, 131, 146, 161, 176, 199, 214, 229, 244, 266, 283, 296, 313, 334, 351, 364, 381, 386, 403, 416, 433, 454, 471, 484, 501, 521, 536, 555, 570, 589, 604, 623, 638, 641, 656, 675, 690, 709, 724, 743, 758, 776, 793, 810, 827, 844
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)==11, return(k))) \\ Charles R Greathouse IV, Jan 25 2018
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 10 2009
STATUS
approved