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.

A335592 a(n) is the determinant of the 2 X 2 matrix whose entries (when read by rows) are the n-th primes ending in 1, 3, 7, 9 respectively.

This page as a plain text file.
%I A335592 #16 Jun 03 2024 18:35:40
%S A335592 188,678,1568,2798,2768,3928,9328,9418,16918,12418,19428,19578,16898,
%T A335592 34698,28028,30988,35878,58528,53908,52318,54938,37308,53098,49888,
%U A335592 49758,68688,65738,74328,96558,100098,95548,121898,119108,117438,104078,140698,156588,143168,222888,226608,196448,160448
%N A335592 a(n) is the determinant of the 2 X 2 matrix whose entries (when read by rows) are the n-th primes ending in 1, 3, 7, 9 respectively.
%C A335592 All terms == 8 (mod 10).
%C A335592 Are there negative terms?  The first 10^7 are positive.
%H A335592 Robert Israel, <a href="/A335592/b335592.txt">Table of n, a(n) for n = 1..10000</a>
%e A335592 The first primes ending in 1,3,7,9 are 11,3,7,19, so a(1) = 11*19 - 3*7 = 188.
%e A335592 The second primes ending in 1,3,7,9 are 31,13,17,29, so a(2) = 31*29 - 13*17 = 678.
%e A335592 The third primes ending in 1,3,7,9 are 41,23,37,59, so a(3) = 41*59 - 23*37 = 1568.
%p A335592 R:= NULL:
%p A335592 L:= [-9,-7,-3,-1]:
%p A335592 for k from 1 to 100 do
%p A335592   for i from 1 to 4 do
%p A335592    for x from L[i]+10 by 10 do until isprime(x);
%p A335592    L[i]:= x;
%p A335592   od;
%p A335592   R:= R, L[1]*L[4]-L[2]*L[3];
%p A335592 od:
%p A335592 R;
%Y A335592 Cf. A335581, A335593, A336738.
%K A335592 nonn,base,look
%O A335592 1,1
%A A335592 _J. M. Bergot_ and _Robert Israel_, Jan 27 2021