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

A034936 Numbers k such that 3*k + 4 is prime.

Original entry on oeis.org

1, 3, 5, 9, 11, 13, 19, 21, 23, 25, 31, 33, 35, 41, 45, 49, 51, 53, 59, 63, 65, 69, 73, 75, 79, 89, 91, 93, 101, 103, 109, 111, 115, 121, 123, 125, 131, 135, 139, 143, 145, 151, 153, 161, 165, 173, 179, 181, 189, 191, 199, 201, 203, 205, 209, 213, 219, 223, 229
Offset: 1

Views

Author

Keywords

Comments

Related to hyperperfect numbers of a certain form.

Crossrefs

Cf. A038536 and A002476.
A002476 gives primes, A091178 gives prime index.
a(n) = A024892(n) - 1 = 2*A024899(n) - 1.
a(n) = A153183(n) - 2 = A107303(n) - 3.

Programs

A034934 Numbers k such that (3*k + 1)/2 is prime.

Original entry on oeis.org

1, 3, 7, 11, 15, 19, 27, 31, 35, 39, 47, 55, 59, 67, 71, 75, 87, 91, 99, 111, 115, 119, 127, 131, 151, 155, 159, 167, 171, 175, 179, 187, 195, 207, 211, 231, 235, 239, 255, 259, 267, 279, 287, 295, 299, 307, 311, 319, 327, 335, 339, 347, 371, 375, 379, 391
Offset: 1

Views

Author

Keywords

Comments

Related to hyperperfect numbers of a certain form.
The formula by Jaroslav Krizek is explained as follows: If p = (3n+1)/2 is prime, then it is an integer, and p must be of the form p = 3m-1, i.e., p = A003627(k). On the other hand, if p = A003627(k), then all k < p are coprime to p, so we have B(p) = (Sum_{kM. F. Hasler, Nov 29 2010

Examples

			a(6) = 19 because for A003627(6) = 29, B(29) = A053818(29)/A023896(29) = 7714/406 = 19. Cf. A179871-A179891, A003627, A007645. - _Jaroslav Krizek_, Aug 01 2010
		

Crossrefs

Programs

  • Magma
    [ n: n in [1..400 by 2] | IsPrime((3*n+1) div 2) ];
    
  • Mathematica
    Select[Range[500], PrimeQ[(3# + 1)/2] &] (* Harvey P. Dale, Jan 15 2011 *)
  • PARI
    is(n)=isprime((3*n+1)/2) \\ Charles R Greathouse IV, Feb 20 2017

Formula

a(n) = A175505(A003627(n)). - Jaroslav Krizek, Aug 01 2010

Extensions

Corrected by Vincenzo Librandi, Mar 24 2010

A034937 Primes p of the form 6k-1 such that 2*p + 3 is prime.

Original entry on oeis.org

5, 17, 29, 47, 53, 89, 113, 137, 167, 173, 197, 227, 269, 353, 383, 467, 503, 509, 557, 563, 599, 617, 647, 659, 743, 773, 797, 809, 827, 887, 929, 1013, 1109, 1187, 1193, 1217, 1259, 1277, 1307, 1373, 1427, 1499, 1523, 1553, 1559, 1583, 1607, 1613, 1733
Offset: 1

Views

Author

Keywords

Comments

Related to hyperperfect numbers of a certain form (form 1, theorem 1 in "A Study of Hyperperfect Numbers").

Crossrefs

Cf. A038536 and A034938.

Programs

  • Mathematica
    Select[Range[5,2000,6],AllTrue[{#,2#+3},PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jul 27 2019 *)

Extensions

Definition corrected by Jud McCranie, Jul 26 2019

A034938 Primes p such that (p-3)/2 is a prime of the form 6k-1.

Original entry on oeis.org

13, 37, 61, 97, 109, 181, 229, 277, 337, 349, 397, 457, 541, 709, 769, 937, 1009, 1021, 1117, 1129, 1201, 1237, 1297, 1321, 1489, 1549, 1597, 1621, 1657, 1777, 1861, 2029, 2221, 2377, 2389, 2437, 2521, 2557, 2617, 2749, 2857, 3001, 3049
Offset: 1

Views

Author

Keywords

Comments

Related to hyperperfect numbers of a certain form (form 1, theorem 1 in "A Study of Hyperperfect Numbers").

Crossrefs

Cf. A038536 and A034937.

Programs

  • Mathematica
    Select[Prime[Range[500]],Mod[(#-3)/2,6]==5&&PrimeQ[(#-3)/2]&] (* Harvey P. Dale, Jul 27 2019 *)

Extensions

Definition corrected by Jud McCranie, Jul 26 2019
Showing 1-4 of 4 results.