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.

A339957 Primes in A240860 (up to sign).

Original entry on oeis.org

5, 29, 149, 461, 1637, 1877, 4373, 13037, 13757, 32309, 41381, 43853, 63533, 69821, 92333, 154157, 174917, 228869, 250949, 358637, 381917, 388757, 565661, 587693, 651293, 697973, 755861, 790613, 862061, 985613, 1127309, 1180637, 1303613, 1739981, 2147693, 2345261, 2586989, 2684837, 2876261
Offset: 1

Views

Author

J. M. Bergot and Robert Israel, Dec 24 2020

Keywords

Examples

			a(3) = 149 is in the sequence because it is prime and A240860(8) = -149.
		

Crossrefs

Cf. A240860.

Programs

  • Maple
    R:= NULL: count:= 0:
    v:= 0: p:= 1:
    while count < 100 do
      p:= nextprime(p);
      v:= p^2 - v;
      if isprime(v) then R:= R, v; count:= count+1 fi
    od:
    R;