This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A240504 #21 Feb 24 2023 11:53:57 %S A240504 1,3,3,7,1,3,11,11,1,3,11,23,51,43,43,87,23,47,15,95,215,431,47,47, %T A240504 295,423,391,783,143,287,1311,1887,847,719,719,1439,3471,2511,975, %U A240504 1951,7583,15167,14655,12607,4383,8767,575,575,16959,25407,24895,49791,639,10879 %N A240504 Read (exponents of primes in the factorization of n!) modulo 2 and convert to decimal. %H A240504 David A. Corneth, <a href="/A240504/b240504.txt">Table of n, a(n) for n = 2..10000</a> %e A240504 Since 9! = 2^7*3^4*5*7, then we have a binary number the digits of which are the exponents modulo 2: 1011. In decimal this is 11. So a(9)=11. %o A240504 (PARI) a(n) = subst(Pol(factor(n!)[,2] % 2), x, 2); \\ _Michel Marcus_, Feb 15 2016 %o A240504 (PARI) a(n) = { my(res = 0); forprime(p = 2, n, res = 2*res + (val(n, p)%2) ); res } %o A240504 val(n, p) = my(r=0); while(n, r+=n\=p); r \\ _David A. Corneth_, Feb 24 2023 %Y A240504 Cf. A055204, A240502, A336510. %K A240504 nonn,base %O A240504 2,2 %A A240504 _Vladimir Shevelev_, Apr 06 2014 %E A240504 More terms from _Michel Marcus_, Feb 15 2016