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 A264735 #22 Nov 16 2024 18:48:50 %S A264735 2,13,71,263,827,2377,6379,16603,41611,101573,243473,573637,1333613, %T A264735 3065983,6975971,15746347,35277211,78510373,173717329,382404863, %U A264735 837870343,1828047503,3973066781,8604768101,18576139177,39983413319 %N A264735 a(n) = prime(2^(n-1)*(2*n-1)), n >= 1. %F A264735 a(n) = A000040(2^(n-1)*(2*n-1)). %F A264735 a(n) = A000040(A014480(n-1)). - _Michel Marcus_, Nov 23 2015 %t A264735 Table[Prime[2^(n - 1)*(2*n - 1)], {n, 26}] %o A264735 (Magma) [NthPrime(2^(n-1)*(2*n-1)): n in [1..20]]; // _Vincenzo Librandi_, Nov 23 2015 %o A264735 (PARI) a(n)=if(n<1,print1("Error n < 1"),prime(2^(n-1)*(2*n-1))) \\ _Anders Hellström_, Nov 23 2015 %o A264735 (Perl) use ntheory ":all"; say "$_ ",nth_prime(2**($_-1) * (2*$_-1)) for 1..50; # _Dana Jacobsen_, Apr 28 2017 %Y A264735 Cf. A000040, A014480, A264731 (main diagonal). %K A264735 nonn %O A264735 1,1 %A A264735 _L. Edson Jeffery_, Nov 22 2015