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 A359340 #7 Jan 02 2023 09:01:05 %S A359340 2,3,7,43,3613,65250781,38318979202732621, %T A359340 8810065002836730577256726488782121, %U A359340 6131762382982476362788562753503495060507087787406616806191258317645081 %N A359340 The primes associated with A339174. %C A359340 a(1)=2; for n > 0, a(n+1) is the first prime of the form k*(a(n) - 1)*a(n) + 1. It exists by Dirichlet's theorem on arithmetic progressions. %C A359340 It is simple to reconstruct a(n) from A339174, which has the more compact representation. %o A359340 (PARI) p=2; k=1; print1(p, ", "); while(1, runningP=k*(p-1)*p+1; if(ispseudoprime(runningP), k=1; p=runningP; print1(p, ", ") , k++)) %Y A359340 Cf. A061092, A071580, A339174. %K A359340 nonn %O A359340 1,1 %A A359340 _Jeppe Stig Nielsen_, Dec 27 2022