cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A109021 (2*7^n - 6*3^n + 4)/6.

This page as a plain text file.
%I A109021 #15 May 30 2023 12:57:55
%S A109021 0,0,8,88,720,5360,38488,272328,1915040,13431520,94099368,658931768,
%T A109021 4613230960,32294742480,226069574648,1582506154408,11077600476480,
%U A109021 77543375522240,542804145216328,3799630566196248,26597418612419600,186181944234074800,1303273651479936408
%N A109021 (2*7^n - 6*3^n + 4)/6.
%C A109021 Number of incongruent integer-edged Heron triangles whose circumdiameter is the product of n distinct primes of shape 4k + 1 and which are not right-angled.
%H A109021 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (11, -31, 21).
%F A109021 a(n) = 8*A016212(n-2).
%F A109021 (0)=0, a(1)=0, a(2)=8, a(n)=11*a(n-1)-31*a(n-2)+21*a(n-3). - _Harvey P. Dale_, Jan 30 2013
%F A109021 G.f.: -8*x^2 / ( (x-1)*(3*x-1)*(7*x-1) ). - _R. J. Mathar_, Feb 10 2016
%t A109021 Table[(2*7^n-6*3^n+4)/6,{n,0,30}] (* or *) LinearRecurrence[{11,-31,21},{0,0,8},30] (* _Harvey P. Dale_, Jan 30 2013 *)
%Y A109021 Cf. A016212, A109020, A003462.
%K A109021 nonn,easy
%O A109021 0,3
%A A109021 _Alex Fink_ and _R. K. Guy_, Aug 18 2005