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

A089199 Primes p such that p+1 is divisible by a cube.

Original entry on oeis.org

7, 23, 31, 47, 53, 71, 79, 103, 107, 127, 151, 167, 191, 199, 223, 239, 263, 269, 271, 311, 359, 367, 383, 431, 439, 463, 479, 487, 499, 503, 593, 599, 607, 631, 647, 701, 719, 727, 743, 751, 809, 823, 839, 863, 887, 911, 919, 967, 971, 983, 991
Offset: 1

Views

Author

Cino Hilliard, Dec 08 2003

Keywords

Comments

This sequence is infinite and its relative density in the sequence of primes is equal to 1 - Product_{p prime} (1-1/(p^2*(p-1))) = 1 - A065414 = 0.302498... (Mirsky, 1949). - Amiram Eldar, Apr 07 2021

Crossrefs

Includes A007522 and A141965.

Programs

  • Maple
    filter:= proc(p)
      isprime(p) and ormap(t -> t[2]>=3, ifactors(p+1)[2])
    end proc:
    select(filter, [seq(i,i=3..2000,2)]); # Robert Israel, Jan 11 2019
  • Mathematica
    f[n_]:=Max[Last/@FactorInteger[n]]; lst={};Do[p=Prime[n];If[f[p+1]>=3,AppendTo[lst,p]],{n,6!}];lst (* Vladimir Joseph Stephan Orlovsky, Oct 03 2009 *)
  • PARI
    ispowerfree(m,p1) = { flag=1; y=component(factor(m),2); for(i=1,length(y), if(y[i] >= p1,flag=0;break); ); return(flag) }
    powerfreep3(n,p,k) = { c=0; pc=0; forprime(x=2,n, pc++; if(ispowerfree(x+k,p)==0, c++; print1(x","); ) ); print(); print(c","pc","c/pc+.0) }

A141964 Primes congruent to 25 mod 27.

Original entry on oeis.org

79, 241, 349, 457, 619, 673, 727, 997, 1051, 1213, 1321, 1429, 1483, 1699, 1753, 1861, 2131, 2239, 2293, 2347, 2617, 2671, 2833, 2887, 3049, 3319, 3373, 3643, 3697, 3967, 4021, 4129, 4507, 4561, 4723, 4831, 4993, 5101, 5209, 5479, 5641, 5749, 5857, 6073
Offset: 1

Views

Author

N. J. A. Sloane, Jul 11 2008

Keywords

Crossrefs

Programs

Formula

a(n) ~ 18n log n. - Charles R Greathouse IV, Jul 02 2016

A141963 Primes congruent to 23 mod 27.

Original entry on oeis.org

23, 131, 239, 293, 347, 401, 509, 563, 617, 887, 941, 1049, 1103, 1319, 1373, 1427, 1481, 1697, 1913, 2129, 2237, 2399, 2777, 2939, 3209, 3371, 3533, 3803, 3911, 4019, 4073, 4127, 4289, 4397, 4451, 4721, 4937, 5099, 5153, 5261, 5477, 5531, 5639, 5693, 5801
Offset: 1

Views

Author

N. J. A. Sloane, Jul 11 2008

Keywords

Crossrefs

Programs

Formula

a(n) ~ 18n log n. - Charles R Greathouse IV, Jul 02 2016

A141960 Primes congruent to 19 mod 27.

Original entry on oeis.org

19, 73, 127, 181, 397, 613, 829, 883, 937, 991, 1153, 1423, 1531, 1693, 1747, 1801, 2017, 2179, 2287, 2341, 2503, 2557, 2719, 3259, 3313, 3529, 3583, 3637, 3691, 3853, 3907, 4177, 4231, 4339, 4447, 4663, 4933, 4987, 5419, 5527, 5581, 5689, 5743, 5851, 6067
Offset: 1

Views

Author

N. J. A. Sloane, Jul 11 2008

Keywords

Crossrefs

Programs

Formula

a(n) ~ 18n log n. - Charles R Greathouse IV, Jul 03 2016

A141962 Primes congruent to 22 mod 27.

Original entry on oeis.org

103, 157, 211, 373, 643, 751, 859, 967, 1021, 1129, 1237, 1291, 1399, 1453, 1669, 1723, 1777, 1831, 1993, 2371, 2749, 2803, 2857, 3019, 3181, 3343, 3559, 3613, 4099, 4153, 4261, 4423, 4639, 4801, 4909, 5179, 5233, 5449, 5503, 5557, 5827, 5881, 6043, 6151
Offset: 1

Views

Author

N. J. A. Sloane, Jul 11 2008

Keywords

Crossrefs

Programs

Formula

a(n) ~ 18n log n. - Charles R Greathouse IV, Jul 03 2016
Showing 1-5 of 5 results.