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.

A117928 Triangle read by rows: T(n,k) = smallest prime of the form (k+1)*prime(n) + k*i for some i>0, 0<=k

Original entry on oeis.org

2, 3, 7, 5, 11, 17, 7, 17, 23, 31, 11, 23, 37, 47, 59, 13, 29, 41, 61, 73, 83, 17, 37, 53, 71, 89, 107, 131, 19, 41, 59, 79, 103, 139, 139, 173, 23, 47, 71, 101, 127, 163, 167, 191, 223, 29, 59, 89, 131, 149, 179, 227, 239, 269, 317, 31, 67, 97, 127, 163, 191, 223, 269
Offset: 1

Views

Author

Reinhard Zumkeller, Apr 03 2006

Keywords

Comments

T(n,0) = A000040(n); T(n,1) = A059786(n) for n>1.

Programs

  • Maple
    T:= proc(n,k) local x;
      for x from (k+1)*ithprime(n) by k do
        if isprime(x) then return x fi
      od
    end proc:
    for n from 1 to 10 do
      seq(T(n,k),k=0..n-1)
    od; # Robert Israel, Nov 23 2020