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.

A368203 Least k such that 7*n*k+1 is a prime.

This page as a plain text file.
%I A368203 #17 Dec 17 2023 18:41:17
%S A368203 4,2,2,1,2,1,4,2,2,1,6,4,6,2,2,1,2,1,12,2,6,3,6,2,4,3,2,1,12,1,6,2,2,
%T A368203 1,2,3,10,6,2,1,6,3,10,2,2,3,2,1,4,2,4,3,2,1,6,8,4,6,2,1,4,3,2,1,2,1,
%U A368203 4,2,2,1,14,2,6,5,2,3,12,1,4,5,4,3,2,6
%N A368203 Least k such that 7*n*k+1 is a prime.
%H A368203 Robert Price, <a href="/A368203/b368203.txt">Table of n, a(n) for n = 1..5000</a>
%t A368203 A368203 = {};
%t A368203 Do[k=1; While[!PrimeQ[7 n k+1], k++]; AppendTo[A368203,k], {n,84}];
%t A368203 A368203
%o A368203 (PARI) a(n) = my(k=1); while (!isprime(7*n*k+1), k++); k; \\ _Michel Marcus_, Dec 16 2023
%Y A368203 Cf. A016014, A024905.
%Y A368203 A070851 lists the corresponding primes.
%K A368203 nonn
%O A368203 1,1
%A A368203 _Robert Price_, Dec 16 2023