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.

Showing 1-7 of 7 results.

A205706 The number j such that 8 divides prime(k)-prime(j), where k(n)=A205705(n).

Original entry on oeis.org

2, 3, 2, 5, 4, 3, 6, 4, 9, 3, 6, 10, 7, 2, 5, 8, 4, 9, 11, 3, 6, 10, 12, 2, 5, 8, 14, 3, 6, 10, 12, 16, 2, 5, 8, 14, 17, 4, 9, 11, 15, 7, 13, 4, 9, 11, 15, 20, 2, 5, 8, 14, 17, 19, 7, 13, 21, 7, 13, 21, 24, 3, 6, 10, 12, 16, 18, 4, 9, 11
Offset: 1

Views

Author

Clark Kimberling, Jan 31 2012

Keywords

Comments

For a guide to related sequences, see A205558.

Examples

			(See the example at A205705.)
		

Crossrefs

Programs

  • Mathematica
    (See the program at A205705.)

A205709 prime(k)-prime(j), where the pairs (k,j) are given by A205705 and A205706.

Original entry on oeis.org

8, 8, 16, 8, 16, 24, 16, 24, 8, 32, 24, 8, 24, 40, 32, 24, 40, 24, 16, 48, 40, 24, 16, 56, 48, 40, 16, 56, 48, 32, 24, 8, 64, 56, 48, 24, 8, 64, 48, 40, 24, 56, 32, 72, 56, 48, 32, 8, 80, 72, 64, 40, 24, 16, 72, 48, 16, 80, 56, 24, 8, 96, 88, 72, 64, 48, 40, 96, 80
Offset: 1

Views

Author

Clark Kimberling, Jan 31 2012

Keywords

Comments

For a guide to related sequences, see A205558.

Examples

			(See the example at A205705.)
		

Crossrefs

Programs

  • Mathematica
    (See the program at A205705.)

A205710 (prime(k)-prime(j))/8, where the pairs (k,j) are given by A205705 and A205706.

Original entry on oeis.org

1, 1, 2, 1, 2, 3, 2, 3, 1, 4, 3, 1, 3, 5, 4, 3, 5, 3, 2, 6, 5, 3, 2, 7, 6, 5, 2, 7, 6, 4, 3, 1, 8, 7, 6, 3, 1, 8, 6, 5, 3, 7, 4, 9, 7, 6, 4, 1, 10, 9, 8, 5, 3, 2, 9, 6, 2, 10, 7, 3, 1, 12, 11, 9, 8, 6, 5, 12, 10, 9
Offset: 1

Views

Author

Clark Kimberling, Jan 31 2012

Keywords

Comments

For a guide to related sequences, see A205558.

Examples

			(See the example at A205705.)
		

Crossrefs

Programs

  • Mathematica
    (See the program at A205705.)

A205707 Prime(A205705(n)), the n-th number s(k) such that 8 divides s(k)-s(j) for some j

Original entry on oeis.org

11, 13, 19, 19, 23, 29, 29, 31, 31, 37, 37, 37, 41, 43, 43, 43, 47, 47, 47, 53, 53, 53, 53, 59, 59, 59, 59, 61, 61, 61, 61, 61, 67, 67, 67, 67, 67, 71, 71, 71, 71, 73, 73, 79, 79, 79, 79, 79, 83, 83, 83, 83, 83, 83, 89, 89, 89, 97, 97, 97, 97, 101, 101, 101, 101
Offset: 1

Views

Author

Clark Kimberling, Jan 31 2012

Keywords

Comments

For a guide to related sequences, see A205558.

Examples

			(See the example at A205705.)
		

Crossrefs

Programs

  • Mathematica
    (See the program at A205705.)

A205708 Prime(A205706(n)), the n-th number s(j) such that 8 divides s(k)-s(j), where the pairs (k,j) are given by A205705 and A205706.

Original entry on oeis.org

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

Views

Author

Clark Kimberling, Jan 31 2012

Keywords

Comments

For a guide to related sequences, see A205558.

Examples

			(See the example at A205705.)
		

Crossrefs

Programs

  • Mathematica
    (See the program at A205705.)

A205558 (A204898)/2 = (prime(k)-prime(j))/2; A086802 without its zeros.

Original entry on oeis.org

1, 2, 1, 4, 3, 2, 5, 4, 3, 1, 7, 6, 5, 3, 2, 8, 7, 6, 4, 3, 1, 10, 9, 8, 6, 5, 3, 2, 13, 12, 11, 9, 8, 6, 5, 3, 14, 13, 12, 10, 9, 7, 6, 4, 1, 17, 16, 15, 13, 12, 10, 9, 7, 4, 3, 19, 18, 17, 15, 14, 12, 11, 9, 6, 5, 2, 20, 19, 18, 16, 15, 13, 12, 10, 7, 6, 3, 1, 22, 21
Offset: 1

Views

Author

Clark Kimberling, Jan 30 2012

Keywords

Comments

Let p(n) denote the n-th prime. If c is a positive integer, there are infinitely many pairs (k,j) such that c divides p(k)-p(j). The set of differences p(k)-p(j) is ordered as a sequence at A204890. Guide to related sequences:
c....k..........j..........p(k)-p(j).[p(k)-p(j)]/c
It appears that, as rectangular array, this sequence can be described by A(n,k) is the least m such that there are k primes in the set prime(n) + 2*i for {i=1..n}. - Michel Marcus, Mar 29 2023

Examples

			Writing prime(k) as p(k),
p(3)-p(2)=5-3=2
p(4)-p(2)=7-3=4
p(4)-p(3)=7-5=2
p(5)-p(2)=11-3=8
p(5)-p(3)=11-5=6
p(5)-p(4)=11-7=4,
so that the first 6 terms of A205558 are 1,2,1,4,3,2.
The sequence can be regarded as a rectangular array in which row n is given by [prime(n+2+k)-prime(n+1)]/2; a northwest corner follows:
1...2...4...5...7...8....10...13...14...17...19...20
1...3...4...6...7...9....12...13...16...18...19...21
2...3...5...6...8...11...12...15...17...18...20...23
1...3...4...6...9...10...13...15...16...18...21...24
2...3...5...8...9...12...14...15...17...20...23...24
1...3...6...7...10..12...13...15...18...21...22...25
2...5...6...9...11..12...14...17...20...21...24...26
- _Clark Kimberling_, Sep 29 2013
		

Crossrefs

Programs

  • Mathematica
    s[n_] := s[n] = Prime[n]; z1 = 200; z2 = 80;
    f[n_] := f[n] = Floor[(-1 + Sqrt[8 n - 7])/2];
    Table[s[n], {n, 1, 30}]              (* A000040 *)
    u[m_] := u[m] = Flatten[Table[s[k] - s[j], {k, 2, z1}, {j, 1, k - 1}]][[m]]
    Table[u[m], {m, 1, z1}]              (* A204890 *)
    v[n_, h_] := v[n, h] = If[IntegerQ[u[h]/n], h, 0]
    w[n_] := w[n] = Table[v[n, h], {h, 1, z1}]
    d[n_] := d[n] = Delete[w[n], Position[w[n], 0]]
    c = 2; t = d[c]                      (* A080036 *)
    k[n_] := k[n] = Floor[(3 + Sqrt[8 t[[n]] - 1])/2]
    j[n_] := j[n] = t[[n]] - f[t][[n]] (f[t[[n]]] + 1)/2
    Table[k[n], {n, 1, z2}]                  (* A133196 *)
    Table[j[n], {n, 1, z2}]                  (* A131818 *)
    Table[s[k[n]] - s[j[n]], {n, 1, z2}]     (* A204898 *)
    Table[(s[k[n]] - s[j[n]])/c, {n, 1, z2}] (* A205558 *)

A205704 Positions of multiples of 8 in A204890 (differences of primes).

Original entry on oeis.org

8, 13, 23, 26, 32, 39, 42, 49, 54, 58, 61, 65, 73, 80, 83, 86, 95, 100, 102, 108, 111, 115, 117, 122, 125, 128, 134, 139, 142, 146, 148, 152, 155, 158, 161, 167, 170, 175, 180, 182, 186, 197, 203, 214, 219, 221, 225, 230, 233, 236, 239, 245, 248, 250
Offset: 1

Views

Author

Clark Kimberling, Jan 31 2012

Keywords

Comments

For a guide to related sequences, see A205558.

Examples

			In A204890=(1,3,2,5,4,2,9,8,6,4,11,10,8,...), multiples of 8 are in positions 8,13,23,...   See the example at A205705.
		

Crossrefs

Programs

  • Mathematica
    (See the program at A205705.)
Showing 1-7 of 7 results.