[go: up one dir, main page]

login
A161454
Numbers n such that A160700(n) = 14.
17
14, 31, 44, 61, 74, 91, 104, 121, 134, 151, 164, 181, 194, 211, 224, 241, 271, 286, 301, 316, 331, 346, 361, 376, 391, 406, 421, 436, 451, 466, 481, 496, 524, 541, 558, 575, 584, 601, 618, 635, 644, 661, 678, 695, 704, 721, 738, 755, 781, 796, 815, 830, 841
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)==14, return(k))) \\ Charles R Greathouse IV, Jan 25 2018
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Jun 10 2009
STATUS
approved