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.

A255174 a(n) = prime(3*n) - prime(2*n).

Original entry on oeis.org

2, 6, 10, 18, 18, 24, 30, 36, 42, 42, 58, 62, 66, 74, 84, 92, 94, 100, 106, 108, 126, 124, 148, 136, 150, 158, 168, 170, 178, 182, 194, 192, 206, 220, 222, 234, 234, 236, 246, 250, 256, 268, 284, 286, 298, 308, 320, 324, 332, 322, 326, 342, 360, 360, 376, 384
Offset: 1

Views

Author

Zak Seidov, Feb 15 2015

Keywords

Comments

The sequence is not monotonic since, for instance, a(22) = 124 < 126 = a(21).

Crossrefs

Cf. A072473.

Programs

  • Magma
    [NthPrime(3*n) - NthPrime(2*n): n in [1..80]]; // Vincenzo Librandi, Feb 16 2015
  • Mathematica
    Table[Prime[3n]-Prime[2n], {n,100}]

Extensions

More terms from Vincenzo Librandi, Feb 16 2015