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.

A145481 Primes p such that 2*p - 17 is prime.

Original entry on oeis.org

11, 17, 23, 29, 53, 59, 83, 107, 137, 149, 167, 233, 239, 263, 269, 293, 317, 347, 359, 389, 419, 449, 479, 557, 563, 599, 617, 647, 653, 659, 809, 827, 857, 863, 947, 953, 983, 1049, 1163, 1187, 1217, 1229, 1283, 1319, 1373, 1409, 1427, 1439, 1487, 1493
Offset: 1

Views

Author

Artur Jasinski, Oct 11 2008

Keywords

Crossrefs

Programs

  • Mathematica
    aa = {}; k = 17; Do[If[PrimeQ[(k + Prime[n])/2], AppendTo[aa, (k + Prime[n])/2]], {n, 1, 500}];aa
    (* Second program: *)
    Select[Prime@ Range@ 250, And[PrimeQ@ #, # > 0] &[2 # - 17] &] (* Michael De Vlieger, Jan 23 2017 *)

Formula

a(n) = 2*A145475(n) - 17.