Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: A120808
Displaying 1-4 of 4 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120808 Integers p such that x=p^3 is in A120806: x+d+1 is prime for all divisors d of x. All p greater than 1 are odd primes. +30
4
1, 5, 71, 303839, 1030349, 1356899, 1437719, 2248529, 2416259, 2576549, 2797961, 4007321, 4353521, 4875491, 6137501, 6611441, 6698831, 6904421, 7821791, 8078981, 9221231, 9311279, 9500279, 10157309, 11251421, 11879939, 11957969 (list; graph; listen)
OFFSET

1,2

FORMULA

a(1)=1. a(n) = p where p is the (n-1)st prime such that x=p^3 is in A120806: x+d+1 is prime for all divisors d of x.

EXAMPLE

a(3)=71 since x=71^3=357911, divisors(x)={1,71,71^2,71^3} and x+d+1={357913,357983,362953,715823} are all prime.

MAPLE

L:=[]: for w to 1 do for k from 1 while nops(L)<=50 do p:=ithprime(k); x:=p^3; if p mod 6 = 5 and andmap(isprime, [x+2, 2*x+1]) then S:={p, p^2}; Q:=map(z-> x+z+1, S); if andmap(isprime, Q) then L:=[op(L), x]; print(nops(L), p, x); fi; fi; od od;

CROSSREFS

Cf. A120806, A120807.

Sequence in context: A033507 A092250 A133990 this_sequence A092204 A079874 A079340

Adjacent sequences: A120805 A120806 A120807 this_sequence A120809 A120810 A120811

KEYWORD

nonn

AUTHOR

Walter Kehowski (wkehowski(AT)cox.net), Jul 06 2006

A120806 Positive integers n such that n+d+1 is prime for all divisors d of n. +10
8
1, 3, 5, 9, 11, 29, 35, 39, 41, 65, 125, 179, 191, 239, 281, 419, 431, 641, 659, 749, 755, 809, 905, 935, 989, 1019, 1031, 1049, 1229, 1289, 1451, 1469, 1481, 1829, 1859, 1931, 2129, 2141, 2339, 2519, 2549, 2969, 3161, 3299, 3329, 3359, 3389, 3539, 3821, 3851 (list; graph; listen)
OFFSET

1,2

COMMENT

No a(n) can be even, since a(n)+2 must be prime. If a(n) is a prime, then it is a Sophie Germain twin prime (A045536). The only square is 9. Let the degree of n be the sum of the exponents in its prime factorization. By convention, degree(1)=0. Then every a(n) has degree less than or equal to 3. Let the weight of n be the number of its distinct prime factors. By convention, weight(1)=0. Clearly, w<=d is always true, with d=w only when the number is square-free. Let [w,d] be the set of all integers with weight w and degree d. Then only the following possibilities occur: 1. [0,0] => a(1)=1. 2. [1,1] => Sophie Germain twin prime: 3, 5, 11, 29, A005384, A045536. 3. [1,2] => a(4)=9 is the only occurrence. 4. [1,3] => 5^3, 71^3 and 303839^3 are the first few cubes, A000578, A120808. 5. [2,2] => 5*7, 3*13 and 5*13 are the first few semiprimes, A001358, A120807. 6. [2,3] => 11*13^2, 61^2*89 and 13^2*12671 are the first few examples, A014612, A054753, A120809. 7. [3,3] => 5*11*17, 5*53*1151, 5*11*42533 are the first few 3-almost primes, A007304, A120810.

FORMULA

a(n) = n-th number such that n+d+1 is prime for all divisors d of n.

EXAMPLE

a(11)=125 since divisors(125)={1,5,25,125} and the set of all n+d+1 is {127,131,151,251} and these are all prime.

MAPLE

with(numtheory); L:=[1]: for w to 1 do for k from 1 to 12^6 while nops(L)<=1000 do x:=2*k+1; if andmap(isprime, [x+2, 2*x+1]) then S:=divisors(x) minus {1, x}; Q:=map(z-> x+z+1, S); if andmap(isprime, Q) then L:=[op(L), x]; print(nops(L), ifactor(x)); fi; fi; od od; L;

CROSSREFS

Cf. A000578, A001358, A005384, A007304, A014612, A054753, A120776, A120807, A120808, A120809, A120810.

Sequence in context: A092917 A163778 A160358 this_sequence A020946 A091785 A003075

Adjacent sequences: A120803 A120804 A120805 this_sequence A120807 A120808 A120809

KEYWORD

nonn

AUTHOR

Walter Kehowski (wkehowski(AT)cox.net), Jul 06 2006

A120807 Cubes in A120806: n+d+1 is prime for all divisors d of n. All cubes greater than 1 are cubes of odd primes. +10
4
1, 125, 357911, 28049850707778719, 1093838138707598549, 2498288375480240699, 2971816820123565959, 11368298790243739889, 14106863174732461979, 17104690428464397149, 21904077634699214681, 64352051556875937161 (list; graph; listen)
OFFSET

1,2

FORMULA

a(1)=1. a(n) = p^3 where p is the (n-1)st prime such that a(n)+d+1 is prime for all divisors d of a(n).

EXAMPLE

a(3)=357911 since n=357911=71^3, divisors(n)={1,71,71^2,71^3} and n+d+1={357913,357983,362953,715823} are all prime.

MAPLE

L:=[]: for w to 1 do for k from 1 while nops(L)<=50 do p:=ithprime(k); x:=p^3; if p mod 6 = 5 and andmap(isprime, [x+2, 2*x+1]) then S:={p, p^2}; Q:=map(z-> x+z+1, S); if andmap(isprime, Q) then L:=[op(L), x]; print(nops(L), p, x); fi; fi; od od;

CROSSREFS

Cf. A120806, A120808.

Sequence in context: A050640 A161354 A003751 this_sequence A013836 A048563 A110825

Adjacent sequences: A120804 A120805 A120806 this_sequence A120808 A120809 A120810

KEYWORD

nonn

AUTHOR

Walter Kehowski (wkehowski(AT)cox.net), Jul 06 2006

A120810 Integers of the form p*q*r in A120806: x+d+1 is prime for all divisors d of x, where p, q and r are distinct odd primes. See A007304. +10
2
935, 305015, 2339315, 3690185, 14080121, 14259629, 16143005, 17754869, 18679409, 26655761, 29184749, 47372135, 80945699, 82768529, 87102509 (list; graph; listen)
OFFSET

1,1

FORMULA

a(n) = n-th element of A120806 of the form p*q*r where p, q and r are distinct odd primes.

EXAMPLE

a(1)=935 since x=5*11*17, divisors(x)={1,5,11,17,5*11,5*17,11*17,5*11*17} and x+d+1={937, 941, 947, 953, 991, 1021, 1123, 1871} are all prime.

MAPLE

with(numtheory); is3almostprime := proc(n) local L; if n in [0, 1] or isprime(n) then return false fi; L:=ifactors(n)[2]; if nops(L) in [1, 2, 3] and convert(map(z-> z[2], L), `+`) = 3 then return true else return false fi; end; L:=[]: for w to 1 do for k from 1 while nops(L)<=50 do x:=2*k+1; if x mod 6 = 5 and issqrfree(x) and is3almostprime(x) and andmap(isprime, [x+2, 2*x+1]) then S:=divisors(x); Q:=map(z-> x+z+1, S); if andmap(isprime, Q) then L:=[op(L), x]; print(nops(L), ifactor(x)); fi; fi; od od;

CROSSREFS

Cf. A120806, A007304, A120809, A120808, A120807.

Sequence in context: A171348 A013545 A029570 this_sequence A027554 A031902 A104917

Adjacent sequences: A120807 A120808 A120809 this_sequence A120811 A120812 A120813

KEYWORD

nonn

AUTHOR

Walter Kehowski (wkehowski(AT)cox.net), Jul 06 2006

page 1

Search completed in 0.005 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | The OEIS Foundation | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified February 9 11:24 EST 2010. Contains 172296 sequences.


AT&T Labs Research