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.

A337146 Numbers k such that abs(A337145(k))/8 is prime.

Original entry on oeis.org

1, 13, 41, 50, 53, 62, 67, 76, 89, 98, 108, 113, 137, 180, 211, 225, 236, 240, 250, 281, 293, 300, 303, 308, 355, 362, 384, 392, 393, 400, 414, 425, 434, 458, 468, 477, 489, 525, 588, 589, 593, 625, 653, 662, 664, 671, 673, 674, 696, 698, 732, 758, 765, 795, 800, 819, 831, 851, 880, 916, 933, 938
Offset: 1

Views

Author

J. M. Bergot and Robert Israel, Jan 27 2021

Keywords

Examples

			a(3) = 41 is a term because A337145(41) = det(1097, 883; 877, 967) = 286408 = 8*35801 and 35801 is prime.
		

Crossrefs

Programs

  • Maple
    R:= NULL:
    count:= 0:
    L:= [-7, -5, -3, -1]:
    for k from 1 while count < 100 do
      for i from 1 to 4 do
       for x from L[i]+8 by 8 do until isprime(x);
       L[i]:= x;
      od;
      v:= abs(L[1]*L[4]-L[2]*L[3])/8;
      if isprime(v) then count:= count+1; R:= R, k; fi
    od:
    R;