[go: up one dir, main page]

login
Revision History for A230666 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Primes p such that a Heronian triangle with a fixed side length of 3 contains p as another side length.
(history; published version)
#11 by T. D. Noe at Mon Dec 09 17:19:40 EST 2013
STATUS

editing

approved

#10 by T. D. Noe at Mon Dec 09 17:19:37 EST 2013
NAME

An ordered sequence of primes Primes p such that a Heronian triangle with a fixed side length of 3 contains p as another side length.

DATA

5, 149, 29401, 5821349, 8946229758127349, 1771308307978070401, 13748537282247342677718149, 106713369180271088592919391520601, 828287615476676026361062299923143963349, 32470531080787945457870876690417952137154149

MATHEMATICA

t = LinearRecurrence[{7, -7, 1}, {1, 4, 25}, 100]; Select[Union[t, t + 1], PrimeQ[#] &] (* T. D. Noe, Dec 09 2013 *)

CROSSREFS

Cf. A072221.

STATUS

approved

editing

#9 by Ralf Stephan at Wed Oct 30 04:49:44 EDT 2013
STATUS

proposed

approved

#8 by Frank M Jackson at Sun Oct 27 19:16:20 EDT 2013
STATUS

editing

proposed

#7 by Frank M Jackson at Sun Oct 27 19:14:17 EDT 2013
DATA

5, 149, 29401, 5821349, 8946229758127349, 1771308307978070401, 13748537282247342677718149, 106713369180271088592919391520601, 828287615476676026361062299923143963349, 32470531080787945457870876690417952137154149, 1956203646252242147823801024249038868300549129735525093749

Discussion
Sun Oct 27
19:15
Frank M Jackson: Have reduced the data to 3 lines. Will add b-file later.
#6 by Frank M Jackson at Sun Oct 27 19:12:22 EDT 2013
DATA

5, 149, 29401, 5821349, 8946229758127349, 1771308307978070401, 13748537282247342677718149, 106713369180271088592919391520601, 828287615476676026361062299923143963349, 32470531080787945457870876690417952137154149, 1956203646252242147823801024249038868300549129735525093749, 3320094281499827792396726077265588946304857465770521910026659841745995808067922645105891752620938420032601

#5 by Michel Marcus at Sun Oct 27 17:31:28 EDT 2013
STATUS

proposed

editing

#4 by Frank M Jackson at Sun Oct 27 13:38:50 EDT 2013
STATUS

editing

proposed

Discussion
Sun Oct 27
17:31
Michel Marcus: Your data is a bit long.
Entries usually give at most 260 characters. If you have more terms than this, please consider also sending a b-file
#3 by Frank M Jackson at Sun Oct 27 13:32:25 EDT 2013
COMMENTS

The triangle inequality requires that any integer triangle with a fixed side length of 3 can have remaining side lengths of (x, x+1) or (x, x+2). The constraint that primitive Heronian triangles have only one even side will only just permit (x, x+1). So a(n) = x or x+1 whenever the Heronian triangle has x or x+1 as a prime and n is the ordered occurrence of this prime. The ordered sequence of x is given by A072221 where x(n) = 6x(n-1)-x(n-2)+2, x(0)=1, x(1)=4 starting at x(1).

FORMULA

Primes of the form x(m) or x(m)+1 where x(m) is given by x(nm) = 6x(m-1)-x(m-2)+2, x(0)=1, x(1)=4 starting at x(1).

#2 by Frank M Jackson at Sun Oct 27 13:28:21 EDT 2013
NAME

allocated for Frank M JacksonAn ordered sequence of primes p such that a Heronian triangle with a fixed side length of 3 contains p as another side length.

DATA

5, 149, 29401, 5821349, 8946229758127349, 1771308307978070401, 13748537282247342677718149, 106713369180271088592919391520601, 828287615476676026361062299923143963349, 32470531080787945457870876690417952137154149, 1956203646252242147823801024249038868300549129735525093749, 3320094281499827792396726077265588946304857465770521910026659841745995808067922645105891752620938420032601

OFFSET

1,1

COMMENTS

The triangle inequality requires that any integer triangle with a fixed side length of 3 can have remaining side lengths of (x, x+1) or (x, x+2). The constraint that primitive Heronian triangles have only one even side will only permit (x, x+1). So a(n) = x or x+1 whenever the Heronian triangle has x or x+1 as a prime and n is the ordered occurrence of this prime. The ordered sequence of x is given by A072221 where x(n) = 6x(n-1)-x(n-2)+2, x(0)=1, x(1)=4 starting at x(1).

FORMULA

Primes of the form x(m) or x(m)+1 where x(m) is given by x(n) = 6x(m-1)-x(m-2)+2, x(0)=1, x(1)=4 starting at x(1).

EXAMPLE

a(2)=149 because the triangle with sides (3, 148, 149) is Heronian, 149 is prime and is the 2nd occurrence of such a prime with triangle sides (3, 4, 5) giving 5 as the 1st occurrence.

MATHEMATICA

seq[n_] := seq[n] = Which[n==0, 1, n==1, 4, True, 6seq[n-1]-seq[n-2]+2]; lst={}; Do[Which[PrimeQ[seq[m]], AppendTo[lst, seq[m]], PrimeQ[seq[m]+1], AppendTo[lst, seq[m]+1], True, Null], {m, 1, 500}]; lst

CROSSREFS
KEYWORD

allocated

nonn

AUTHOR

Frank M Jackson, Oct 27 2013

STATUS

approved

editing