Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A162652
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A162652 Primes p such that there are positive integers m and n and a prime q such that p = m^2+m-q = n^2+n+q. +0
14
7, 13, 31, 43, 73, 211, 241, 421, 463, 1123, 1723, 2551, 2971, 4831, 5701, 6163, 8011, 8191, 9901, 11131, 12433, 14281, 17293, 19183, 20023, 23563, 24181, 28393, 30103, 31153, 35911 (list; graph; listen)
OFFSET

1,1

COMMENT

To test if a prime p is a member, p = n^2+n+q gives a finite list of possible pairs (n,q), and, for each value of q, m^2+m=p+q determines a putative value of m. - N. J. A. Sloane, Jul 17 2009

EXAMPLE

7 = 1^2+1+5 = 3^2+3-5.

MAPLE

isA002378 := proc(n) if n >= 0 then if issqr(4*n+1) then RETURN(type( sqrt(4*n+1), 'odd')) ; else false; fi; else false; fi; end: # primes p such there is a prime q<p such that # p+q and p-q are both oblong numbers. isA162652 := proc(p) local j, q; if isprime(p) then for j from 1 do q := ithprime(j) ; if q >= p then break; fi; if isA002378(p+q) and isA002378(p-q) then RETURN(true) ; fi; od: false ; else false; fi; end: for n from 1 to 4000 do if isA162652(ithprime(n)) then printf("%d, ", ithprime(n)) ; fi; od; [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 17 2009]

CROSSREFS

Sequence in context: A074963 A110912 A085104 this_sequence A031158 A091431 A060800

Adjacent sequences: A162649 A162650 A162651 this_sequence A162653 A162654 A162655

KEYWORD

nonn,more

AUTHOR

Daniel Tisdale (daniel6874(AT)gmail.com), Jul 08 2009

EXTENSIONS

Definition revised by N. J. A. Sloane, Jul 17 2009

Corrected: 91 is not prime Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Jul 18 2009

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 17 2009

page 1

Search completed in 0.002 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 | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research