cp's OEIS Frontend

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.

A122566 a(n) = prime(n^2 + n + 1).

This page as a plain text file.
%I A122566 #21 Nov 11 2024 17:26:17
%S A122566 2,5,17,41,73,127,191,269,367,467,607,751,919,1093,1297,1523,1753,
%T A122566 2027,2309,2621,2909,3299,3623,4007,4421,4861,5303,5749,6257,6763,
%U A122566 7307,7867,8447,9041,9643,10273,10979,11719,12421,13121,13883,14723,15467,16319
%N A122566 a(n) = prime(n^2 + n + 1).
%C A122566 Union of A054553 and A054568. Primes appearing on the northeast and southwest spokes of the (clockwise) prime number spiral. - _Vincenzo Librandi_, Nov 06 2024
%H A122566 G. C. Greubel, <a href="/A122566/b122566.txt">Table of n, a(n) for n = 0..10000</a>
%F A122566 a(n) = prime(n^2+n+1). - _Wesley Ivan Hurt_, Nov 28 2021
%e A122566 a(2) = 17 = P(2^2+2+1) = P(7).
%p A122566 seq(ithprime(k^2+k+1),k=0..60);
%t A122566 Table[Prime[k^2+k+1],{k,0,50}] (* _Harvey P. Dale_, Apr 01 2013 *)
%o A122566 (Magma) [NthPrime(n^2+n+1): n in [0..60]]; // _G. C. Greubel_, Oct 29 2024
%o A122566 (SageMath) [nth_prime(n^2+n+1) for n in range(61)] # _G. C. Greubel_, Oct 29 2024
%Y A122566 Even bisection gives A054568; odd bisection gives A054553(n>0).
%Y A122566 Cf. A000040.
%K A122566 nonn
%O A122566 0,1
%A A122566 _Miklos Kristof_, Sep 21 2006