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.

Previous Showing 21-23 of 23 results.

A141791 Primes of the form c(n)-n, where c(n)=n-th composite.

Original entry on oeis.org

3, 5, 5, 5, 7, 7, 7, 11, 13, 13, 13, 17, 17, 17, 17, 17, 19, 19, 19, 19, 19, 23, 23, 23, 29, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 37, 37, 37, 37, 37, 41, 41, 41, 41, 41, 43, 43, 43, 43, 43, 43, 43, 43, 43, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 53, 59, 59, 59, 59, 59
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Sep 13 2008, Feb 15 2009

Keywords

Comments

c(n)=A002808(n).
Entries may be repeated and are shown in order of increasing generator n.

Examples

			n=1: c(1)-1=4-1=3=a(1).
n=3: c(3)-3=8-3=5=a(2).
n=4: c(4)-4=9-4=5=a(3).
n=5: c(5)-5=10-5=5=a(4).
n=7: c(7)-7=14-7=7=a(5).
		

Crossrefs

Programs

  • Mathematica
    Module[{cmps=Select[Range[300],CompositeQ]},Select[#[[1]]-#[[2]]&/@ Thread[ {cmps,Range[Length[cmps]]}],PrimeQ]] (* Harvey P. Dale, Jan 15 2020 *)

Extensions

Corrected and extended by R. J. Mathar, Sep 26 2008

A141784 Primes of the form A141468(n)-n, where A141468(n)=n-th nonprime.

Original entry on oeis.org

2, 3, 3, 3, 5, 5, 5, 7, 7, 7, 11, 11, 11, 13, 13, 13, 17, 17, 17, 17, 17, 19, 23, 23, 23, 23, 23, 23, 23, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 31, 31, 31, 31, 31, 37, 37, 37, 41, 41, 41, 41, 41, 41, 41, 41, 41, 43, 43, 43, 47, 47, 47, 53, 53, 53, 53, 53, 59, 61, 61, 61, 61
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Sep 13 2008

Keywords

Examples

			n=4: k(4)-4=6-4=2=a(1).
n=5: k(5)-5=8-5=3=a(2).
n=6: k(6)-6=9-6=3=a(3).
n=7: k(7)-7=10-7=3=a(4).
n=9: k(9)-9=14-9=5=a(5).
		

Crossrefs

Extensions

Extended by R. J. Mathar, Sep 26 2008

A141792 Primes of the form A018252(n)-n, where A018252(n)=n-th nonprime.

Original entry on oeis.org

2, 3, 5, 7, 11, 11, 11, 11, 11, 13, 17, 19, 19, 19, 23, 23, 23, 23, 23, 29, 29, 29, 31, 31, 31, 37, 37, 37, 37, 37, 41, 43, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 53, 53, 53, 53, 53, 53, 53, 53, 53, 59, 59, 59, 61, 61, 61, 61, 61, 61, 61, 61, 61, 67, 67, 67, 67, 67, 71, 71, 71, 71
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Sep 13 2008

Keywords

Examples

			n=2: r(2)-2=4-2=2=a(1).
n=3: r(3)-3=6-3=3=a(2).
n=7: r(7)-7=12-7=5=a(3).
n=11: r(11)-11=18-11=7=a(4).
n=21: r(21)-21=32-21=11=a(5).
		

Crossrefs

Extensions

Corrected and extended by R. J. Mathar, Sep 26 2008
Previous Showing 21-23 of 23 results.