Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A160054
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A160054 Primes prime(k) such that prime(k)^2+prime(k+1)^2-1 is a perfect square. +0
1
7, 11, 23, 109, 211, 307, 1021, 4583, 42967, 297779, 1022443, 1459811, 10781809, 125211211 (list; graph; listen)
OFFSET

1,1

COMMENT

An infinite number of solutions exists for a^2+b^2-1=c^2 over the set of natural numbers a, b, c.

If we constrain these to b=a+2, ie, 2a^2+4a+3=c^2, the solutions are with a=1, 11, 69, 407, 2377,... [The twin prime 11 is also in this sequence here.

The solutions can be generated recursively from a(0)=1, m(0)=3 and a(k+1)=3*a(k)+2*m(k)+2, m(k+1)=4*a(k)+3*m(k)+4.]

Filtering these solutions for prime pairs a(k) and b(k) would generate the subset of lower twin primes in the sequence.

The equivalent procedure can be carried out for other prime gaps 2*d,

such that prime(k)=a, prime(k+1)=a+2*d, 2*a^2+4*a*d+4*d^2-1=m^2. This decomposes the sequence into classes according to the gap 2*d.

FORMULA

{A000040(k): A069484(k)-1 in A000290}.

EXAMPLE

7^2+11^2-1=13^2.

11^2+13^2-1=17^2.

23^2+29^2-1=37^2.

109^2+113^2-1=157^2.

211^2+223^2-1=307^2.

307^2+311^2-1=19^2*23^2.

1021^2+1031^2-1=1451^2.

4583^2+4591^2-1=13^2*499^2.

MATHEMATICA

lst = {}; p = q = 2; While[p < 4000000000, q = NextPrime@ p; If[ IntegerQ[ Sqrt[p^2 + q^2 - 1]], AppendTo[lst, p]; Print@ p]; p = q]; lst [From Robert G. Wilson v (rgwv(AT)rgwv), May 31 2009]

CROSSREFS

Cf. A129288, A050791.

Sequence in context: A140111 A118072 A076855 this_sequence A027830 A134043 A102373

Adjacent sequences: A160051 A160052 A160053 this_sequence A160055 A160056 A160057

KEYWORD

nonn

AUTHOR

Ulrich Krug (leuchtfeuer37(AT)gmx.de), May 01 2009

EXTENSIONS

Edited and 4 more terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 08 2009

a(13) from Robert G. Wilson v (rgwv(AT)rgwv), May 31 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research