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 A128852 #20 May 15 2024 22:30:34 %S A128852 2,13,17,97,193,241,257,641,673,769,2689,5953,8929,12289,40961,49921, %T A128852 61681,65537,101377,114689,274177,286721,319489,414721,417793,550801, %U A128852 786433,974849,1130641,1376257,1489153,1810433,2424833,3602561,6700417 %N A128852 Anti-elite primes: a prime number p is called anti-elite if only a finite number of Fermat numbers 2^(2^n)+1 are quadratic non-residues mod p. %C A128852 There are infinitely many anti-elite primes. %D A128852 Alexander Aigner; Über Primzahlen, nach denen (fast) alle Fermatzahlen quadratische Nichtreste sind. Monatsh. Math. 101 (1986), pp. 85-93 %H A128852 Dennis Martin, <a href="/A128852/b128852.txt">Table of n, a(n) for n = 1..101</a> %H A128852 M. Krizek, F. Luca, I. E. Shparlinski, L. Somer, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL14/Krizek/krizek2.html">On the complexity of testing elite primes</a>, J. Int. Seq. 14 (2011) # 11.1.2 %H A128852 Dennis Martin, <a href="http://www.primenace.com/papers/math/Anti-ElitePrimes.htm">Anti-Elite Prime Search</a> %H A128852 Dennis Martin, <a href="/A128852/a128852.html">Anti-Elite Prime Search</a> [Cached copy, with permission of author] %H A128852 Tom Müller, <a href="http://www.cs.uwaterloo.ca/journals/JIS/VOL10/Mueller/mueller56.html">On Anti-Elite Prime Numbers</a>, J. Integer Sequences, Vol. 10 (2007), Article 07.9.4. %H A128852 Tom Müller, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL13/Mueller/mueller6.html">On the Fermat Periods of Natural Numbers</a>, J. Int. Seq. 13 (2010) # 10.9.5. %H A128852 Tom Müller, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL20/Mueller/mueller10.html">On the Exponents of Non-Trivial Divisors of Odd Numbers and a Generalization of Proth's Primality Theorem</a>, Journal of Integer Sequences, Vol. 20 (2017), Article 17.2.7. %e A128852 Let F_r:=2^(2^r)+1 = r-th Fermat number. Then a(2)=13 because for all r>1 we have F_r == 4 (mod 13) if r is even, resp. F_r == 10 (mod 13) if r is odd. Notice that 4 and 10 are quadratic residues modulo 13. %o A128852 (PARI) isAntiElite(n) = if(isprime(n) && n > 2, my(d = znorder(Mod(2,n)), StartPoint = valuation(d,2), LengthTest = znorder(Mod(2, d >> StartPoint))); for(i = StartPoint, StartPoint + LengthTest - 1, if(!issquare(Mod(2,n)^2^i + 1), return(0))); 1, n == 2) \\ _Jianing Song_, May 15 2024 %Y A128852 Cf. A102742. %Y A128852 Contains all Fermat prime factors of Fermat numbers (A023394) that are greater than 5. %K A128852 nonn %O A128852 1,1 %A A128852 _Tom Mueller_, Apr 16 2007