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 A375235 #43 Aug 09 2024 03:28:57 %S A375235 1,6,12,28,58,126,252,506,1012,2042,4082,8190,16366,32742,65518, %T A375235 131056,262114,524280,1048554,2097146,4194278,8388594,16777208, %U A375235 33554390,67108858,134217716,268435396,536870852,1073741814,2147483614,4294967284,8589934580,17179869158 %N A375235 Records of A112591. %C A375235 Sequence closely parallel to A000295. %F A375235 a(n) = previous_prime(2^n) XOR next_prime(2^n) = A112591(A014234(n)) for n > 1. %e A375235 The first term of A112591 = 1 is a record and is a(1). The next A112591 value > 1 is 6 which is a(2). %t A375235 a[n_] := BitXor @@ NextPrime[2^n, {-1, 1}]; a[1] = 1; Array[a, 33] (* _Amiram Eldar_, Aug 08 2024 *) %o A375235 (PARI) a(n)= if(n==1,1,bitxor(precprime(2^n), nextprime(2^n) )) %Y A375235 Cf. A000295, A014210 (primes where records occur), A014234, A112591. %K A375235 nonn %O A375235 1,2 %A A375235 _Bill McEachen_, Aug 06 2024 %E A375235 More terms from _Amiram Eldar_, Aug 06 2024