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-2 of 2 results.

A234500 Integers of the form (p*q*r*s + 1)/2, where p, q, r, s are distinct primes.

Original entry on oeis.org

578, 683, 893, 998, 1073, 1208, 1403, 1502, 1523, 1568, 1628, 1658, 1853, 1898, 1943, 1964, 2153, 2195, 2243, 2258, 2321, 2393, 2423, 2468, 2503, 2558, 2594, 2657, 2783, 2828, 2933, 3023, 3053, 3098, 3140, 3203, 3273, 3278, 3350, 3383, 3392, 3518, 3548, 3581
Offset: 1

Views

Author

Clark Kimberling, Jan 01 2014

Keywords

Examples

			578 = (3*5*7*11 + 1)/2.
		

Crossrefs

Programs

  • Mathematica
    t = Select[Range[1, 20000, 2], Map[Last, FactorInteger[#]] == Table[1, {4}] &]; Take[(t + 1)/2, 120] (* A234500*)
    v = Flatten[Position[PrimeQ[(t + 1)/2], True]] ; w = Table[t[[v[[n]]]], {n, 1, Length[v]}]  (* A234501 *)
    (w + 1)/2 (* A234502 *)   (* Peter J. C. Moses, Dec 23 2013 *)
    With[{nn=20},Select[Union[(Times@@#+1)/2&/@Subsets[Prime[Range[2,nn]],{4}]],#<=(105Prime[nn]+1)/2&]] (* Harvey P. Dale, Oct 18 2021 *)

Formula

1 + A234105.

A234501 Products p*q*r*s of distinct primes for which (p*q*r*s + 1)/2 is prime.

Original entry on oeis.org

1365, 3045, 4305, 4485, 4785, 4845, 5005, 5313, 6045, 6405, 7161, 7665, 8265, 8745, 9165, 9345, 9933, 10005, 10101, 10465, 10545, 10605, 10965, 11305, 11685, 12441, 12597, 13585, 14385, 14421, 14973, 15045, 15405, 15645, 15873, 16185, 16485, 17085, 17385
Offset: 1

Views

Author

Clark Kimberling, Jan 01 2014

Keywords

Examples

			1365 = 3*5*7*13, and (1365+1)/2 = 683, a prime.
		

Crossrefs

Programs

  • Mathematica
    t = Select[Range[1, 20000, 2], Map[Last, FactorInteger[#]] == Table[1, {4}] &]; Take[(t + 1)/2, 120] (* A234500*)
    v = Flatten[Position[PrimeQ[(t + 1)/2], True]] ; w = Table[t[[v[[n]]]], {n, 1, Length[v]}]  (* A234501 *)
    (w + 1)/2 (* A234502 *)   (* Peter J. C. Moses, Dec 23 2013 *)
Showing 1-2 of 2 results.