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

A080822 Primes in A058633.

Original entry on oeis.org

23, 61, 67, 137, 149, 233, 547, 701, 709, 887, 1583, 1723, 1777, 2239, 2459, 2477, 2693, 3067, 3167, 3329, 3881, 3947, 3967, 4073, 5333, 5449, 5839, 6217, 6709, 6833, 8221, 8273, 8501, 8527, 8641, 9227, 9341, 10193, 10729, 10771, 11939, 12197, 12347
Offset: 1

Views

Author

Cino Hilliard, Mar 26 2003

Keywords

Crossrefs

Programs

  • Mathematica
    A006577[n_] := Length[NestWhileList[If[OddQ[#], 3*# + 1, #/2] &, n, # > 1 &]] - 1;
    Select[Accumulate[Array[A006577, 500]], PrimeQ] (* Paolo Xausa, Oct 01 2024 *)
  • PARI
    xpcount(n,p) = { ct=0; sr=0; for(x=1,n, p1 = x; while(p1>1, if(p1%2==0,p1/=2; ct++,p1 = p1*p+1; ct++) ); if(isprime(ct),print1(ct" "); sr+=1.0/ct) ); print(); print(sr) }

Extensions

Edited by Hauke Worpel and N. J. A. Sloane, Jun 03 2003
Showing 1-1 of 1 results.