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

A080715 Numbers k such that for any positive integers (a, b), if a * b = k then a + b is prime.

Original entry on oeis.org

1, 2, 6, 10, 22, 30, 42, 58, 70, 78, 82, 102, 130, 190, 210, 310, 330, 358, 382, 442, 462, 478, 562, 658, 742, 838, 862, 970, 1038, 1222, 1282, 1318, 1618, 1810, 1870, 1978, 2038, 2062, 2098, 2242, 2398, 2458, 2578, 2902, 2938, 2962, 3018, 3082, 3322, 3642, 3862, 4218, 4258, 4282, 4678, 5098, 5590, 5938, 6042, 6078
Offset: 1

Views

Author

Matthew Vandermast, Mar 23 2003

Keywords

Comments

Sequence includes all even, squarefree "idoneal" or "convenient" numbers (A000926); all members are even and squarefree except 1 (which is also idoneal).
Is it known, or can it be proved, that this sequence is infinite?
Let p and p+2 be twin primes. If 2p+1 is also prime, 2p is in this sequence. - T. D. Noe, Jun 06 2006, Nov 26 2007
2*A045536 are the n with two prime factors. 2*A128279 are the n with three prime factors. 2*A128278 are the n with four prime factors. 2*A128277 are the n with five prime factors. 2*A128276 lists the least n having k prime factors. - T. D. Noe, Nov 14 2010
Numbers n such that d + n/d is prime for every d|n. Then n+1 is a prime p = 2 or p == 3 (mod 4). - Thomas Ordowski, Apr 12 2013

Examples

			1 is the product of two positive integers in one way: 1 * 1. The sum of the multiplicands is 2, which is prime.
310 (2*5*31) is the product of two positive integers in 4 ways: 1 * 310, 2 * 155, 5 * 62 and 10 * 31. The sums of the pairs of multiplicands are 311, 157, 67 and 41, respectively; all are primes.
		

References

  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 844.

Crossrefs

Programs

  • Haskell
    a080715 n = a080715_list !! (n-1)
    a080715_list = 1 : filter (\x -> all ((== 1) . a010051) $
       zipWith (+) (a027750_row x) (reverse $ a027750_row x)) [2,4..]
    -- Reinhard Zumkeller, Apr 12 2012
    
  • Mathematica
    t={}; Do[ds=Divisors[n]; If[EvenQ[Length[ds]], ok=True; k=1; While[k<=Length[ds]/2 && (ok=PrimeQ[ds[[k]]+ds[[ -k]]]), k++ ]; If[ok, AppendTo[t,n]]], {n,2,4000}]; t (* T. D. Noe, Jun 06 2006 *)
    Select[Range[10^4], (d=Divisors[#]; And@@PrimeQ[d + # / d])&] (* Vincenzo Librandi, Jul 14 2017 *)
  • PARI
    is_ok(n)=fordiv(n,d,if(!isprime(d+n/d),return(0)));return(1);
    for(n=1,10^4,if(is_ok(n),print1(n,", "))); \\ Joerg Arndt, Jul 10 2014

A128278 an=n-th smallest integer m=p1*p2*p3, product of 3 odd primes such that d+2m/d are all primes for d dividing 2m.

Original entry on oeis.org

105, 165, 231, 935, 2109, 2795, 3021, 3819, 6981, 7205, 11285, 12341, 13101, 16419, 17549, 19839, 21749, 21995, 26391, 31229, 31269, 46631, 62651, 63645, 65391, 76155, 77585, 100955, 110811, 113555, 118031, 136451, 148359, 150245, 154679
Offset: 1

Views

Author

Kok Seng Chua (chuakokseng(AT)hotmail.com), Mar 05 2007

Keywords

Examples

			E.g. 105=3.5.7, 2.3.5.7+1=211, 2+3.5.7=107, 3+2.5.7=73, 5+2.3.7=47, 7+2.3.5=37, 2.3+5.7=41, 2.5+3.7=31, 2.7+3.5=29 are all primes and 3.5.7 is the smallest such number, so a(1)=105.
		

Crossrefs

A128279 an=n-th smallest integer of the form m=p1*p2 where pi are odd primes such that d+2m/d are all primes for d dividing 2m.

Original entry on oeis.org

15, 21, 35, 39, 51, 65, 95, 155, 221, 329, 371, 485, 519, 611, 905, 989, 1121, 1199, 1469, 1509, 1541, 1661, 1821, 3039, 3189, 3431, 3641, 3791, 4055, 4109, 4281, 4601, 4859, 5079, 5111, 5195, 5331, 5429, 5579, 5951, 5979, 6161, 6245, 6731, 6881, 7415
Offset: 1

Views

Author

Kok Seng Chua (chuakokseng(AT)hotmail.com), Mar 05 2007

Keywords

Examples

			E.g. 35=5.7, 2.5.7+1=71, 2.5+7=17, 2.7+5=19. 5.7+2=37 are all primes and this is the 3rd such number, so a(3)=35
		

Crossrefs

Showing 1-3 of 3 results.