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!)
A272365 a(n) = 9a(n-1) - 9a(n-2) + a(n-3). 1
10, 34, 250, 1954, 15370, 120994, 952570, 7499554, 59043850, 464851234, 3659766010, 28813276834, 226846448650, 1785958312354, 14060820050170, 110700602088994, 871543996661770, 6861651371205154, 54021666972979450, 425311684412630434, 3348471808328064010, 26362462782211881634 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For n>1 this linear recurrence generates Heronian triangles whose sides are a(n), a(n)-4, a(n)/2-1 and whose area K = (a(n)-2)*sqrt(15(a(n)-10)(a(n)+6))/16. When a(n) = 2p and p is an odd prime then 2p-tau(2p) = a(n)-4 and phi(2p) = a(n)/2-1, where tau=A000005 is the number of divisors and phi=A000010 the totient. Hence when a(n) = 2p for some odd prime p, it is a member of A268281.
LINKS
FORMULA
a(n) = 9a(n-1) - 9a(n-2) + a(n-3).
From Ilya Gutkovskiy, Apr 27 2016: (Start)
G.f.: -2*x*(5-28*x+17*x^2) / ( (x-1)*(x^2-8*x+1) )
a(n) = 2*(2*(4 + sqrt(15))*(4 - sqrt(15))^n - 2*(sqrt(15) - 4)*(4 + sqrt(15))^n + 1). (End)
EXAMPLE
a(2) = 34 because the triangle so formed has sides 34, 30, 16. It is Heronian with integer area 240 and is also Pythagorean. Because 34 = 2*17 and 17 is prime, it is also a member of A268281.
MATHEMATICA
LinearRecurrence[{9, -9, 1}, {10, 34, 250}, 24]
PROG
(PARI) Vec(2*x*(5-28*x+17*x^2)/(1-9*x+9*x^2-x^3) + O(x^99)) \\ Altug Alkan, Apr 28 2016
CROSSREFS
A268281 is a member of this sequence iff A268281/2 is prime.
Sequence in context: A001890 A221810 A219591 * A230895 A254674 A260336
KEYWORD
nonn,easy
AUTHOR
Frank M Jackson, Apr 27 2016
STATUS
approved

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 April 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)