login
A161455
Numbers n such that A160700(n) = 15.
17
15, 30, 45, 60, 75, 90, 105, 120, 135, 150, 165, 180, 195, 210, 225, 240, 270, 287, 300, 317, 330, 347, 360, 377, 390, 407, 420, 437, 450, 467, 480, 497, 525, 540, 559, 574, 585, 600, 619, 634, 645, 660, 679, 694, 705, 720, 739, 754, 780, 797, 814, 831, 840
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)==15, return(k))) \\ Charles R Greathouse IV, Jan 25 2018
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 10 2009
STATUS
approved