login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A334177 Squarefree part of numerator of the squared area of the Heronian triangle with sequential prime sides whose shortest leg is prime(n). 2

%I #40 Mar 30 2023 09:16:08

%S 0,3,299,2635,81795,3795,16107,30459,64491,3045315,537915,64155,24235,

%T 301587,7995,32512755,44450835,56771715,72867795,1116115,111121395,

%U 144843315,7564011,247292115,33656315,345261315,382278435,432567555,534226515,76227515,7407435,1012520355,978027,1365306243

%N Squarefree part of numerator of the squared area of the Heronian triangle with sequential prime sides whose shortest leg is prime(n).

%C These are the values within the irreducible square roots, which are part of the area resulting from Heronian triangles, which have all sides being sequential prime numbers. The triangles follow this sequence of sides: {prime(n), prime(n+1), prime(n+2)} and their area is represented by {(r/s)*sqrt(t)}, where r, s, t are integers and a(n) is the number t.

%H Claudio Chaib, <a href="https://community.wolfram.com/groups/-/m/t/1963471">Squared area (squarefree): Triangles (OEIS-A334176 odd/A334177 prime)</a>, Wolfram Community.

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Heron%27s_formula">Heron's formula</a>

%e a(1) = 0, since the triangle {2,3,5} has area 0. a(2) = 3, because the first possible Heronian triangle with sequential prime sides and positive area is the triangle {3,5,7} and its respective area is {15*sqrt(3)/4}. a(3) = 299 since the second possible triangle is {5,7,11} which has area {3*sqrt(299)/4}. And so on.

%t a[n_]:=Module[{y,z},If[n==1,0,z=Area@SSSTriangle[Prime[n],Prime[n+1],Prime[n+2]];({z}/.Coefficient[{z}/.Sqrt[_]->y,y][[1]]->1)[[1]]^2]]

%o (PARI) a(n) = my(p=prime(n), q=nextprime(p+1), r=nextprime(q+1), s=(p+q+r)/2); core(numerator(s*(s-p)*(s-q)*(s-r))); \\ _Michel Marcus_, Apr 18 2020

%Y Cf. A007913 (squarefree part), A000040, A334176.

%K nonn

%O 1,2

%A _Claudio Lobo Chaib Filho_, Apr 17 2020

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 24 06:08 EDT 2024. Contains 375409 sequences. (Running on oeis4.)