login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes in A194627.
3

%I #19 Nov 11 2024 09:01:19

%S 2,3,41,59,593,4787,4937,8699,9281,9491,44201,45491,49429,59219,90197,

%T 93251,93893,115211,118661,136523,152501,156467,166949,184571,185477,

%U 189851,225353,232091,236981,239963,277577,364571,375569,386731,428873,577307,581941,662339,717161,718931,758501,763811

%N Primes in A194627.

%H Robert Israel, <a href="/A377791/b377791.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A194627(A377882(n)).

%F a(n) = (n-1)^2 + (A377882(n)-n)^2 + 1.

%e a(3) = 41 because the third prime in A194627 is A194627(9) = 41.

%p v:= 1: p:= 0: q:= 0: np:= 0: R:= NULL:

%p for i from 1 while np < 100 do

%p if isprime(v) then p:= p+1; R:= R, v; np:= np+1 else q:= q+1 fi;

%p v:= p^2 + q^2 + 1;

%p od:

%p R;

%Y Cf. A194627, A377882.

%K nonn

%O 1,1

%A _Robert Israel_, Nov 10 2024