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 A377791 #19 Nov 11 2024 09:01:19 %S A377791 2,3,41,59,593,4787,4937,8699,9281,9491,44201,45491,49429,59219,90197, %T A377791 93251,93893,115211,118661,136523,152501,156467,166949,184571,185477, %U A377791 189851,225353,232091,236981,239963,277577,364571,375569,386731,428873,577307,581941,662339,717161,718931,758501,763811 %N A377791 Primes in A194627. %H A377791 Robert Israel, <a href="/A377791/b377791.txt">Table of n, a(n) for n = 1..10000</a> %F A377791 a(n) = A194627(A377882(n)). %F A377791 a(n) = (n-1)^2 + (A377882(n)-n)^2 + 1. %e A377791 a(3) = 41 because the third prime in A194627 is A194627(9) = 41. %p A377791 v:= 1: p:= 0: q:= 0: np:= 0: R:= NULL: %p A377791 for i from 1 while np < 100 do %p A377791 if isprime(v) then p:= p+1; R:= R, v; np:= np+1 else q:= q+1 fi; %p A377791 v:= p^2 + q^2 + 1; %p A377791 od: %p A377791 R; %Y A377791 Cf. A194627, A377882. %K A377791 nonn %O A377791 1,1 %A A377791 _Robert Israel_, Nov 10 2024