OFFSET
1,1
COMMENTS
b - a = 31 is the fifth term of A058529
FORMULA
c(1)=41,c(2)=109,c(3)=221,c(4)=629,c(n)=6*c(n-2)-c(n-4)
EXAMPLE
c(5)= 6*221-41=1285 and 893^2 + 924^2 = 1285^2 and 924-893=31 and gcd(893,924)=1
MATHEMATICA
RecurrenceTable[{a[1]==41, a[2]==109, a[3]==221, a[4]==629, a[n]==6a[n-2]-a[n-4]}, a, {n, 30}] (* Harvey P. Dale, Aug 01 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Andras Erszegi (erszegi.andras(AT)chello.hu), Mar 21 2006
STATUS
approved