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 A126043 #26 Oct 15 2024 04:30:04 %S A126043 2,0,2,1,1,2,1,1,1,2,2,1,2,1,1,1,1,1,2,1,2,2,2,2,2,1,1,2,1,1,1,2,2,1, %T A126043 2,2,2,2,1,1,1,2,1,2,2,1,2,2 %N A126043 Exponents p of the Mersenne primes 2^p - 1 (see A000043) read mod 3. %F A126043 a(n) = A010872(A000043(n)). - _Michel Marcus_, Aug 12 2014 %t A126043 Array[Mod[MersennePrimeExponent@ #, 3] &, 45] (* _Michael De Vlieger_, Apr 07 2018 *) %o A126043 (PARI) forprime(p=1, 1e3, if(isprime(2^p-1), print1(p%3, ", "))) \\ _Felix Fröhlich_, Aug 12 2014 %Y A126043 Cf. A000043, A010872 (n mod 3), A126044-A126059. %K A126043 nonn,more %O A126043 1,1 %A A126043 _Artur Jasinski_, Dec 17 2006 %E A126043 a(45)-a(47) from _Ivan Panchenko_, Apr 08 2018 %E A126043 a(48) from _Amiram Eldar_, Oct 14 2024