OFFSET
0,1
COMMENTS
This sequence is a variation of the sequence A333385, variation proposed by Tony Gardiner in his book in reference.
Proposition: a(n) is a perfect square iff n = 0; in this case, a(0) = 4.
REFERENCES
A. Gardiner, The Mathematical Olympiad Handbook: An Introduction to Problem Solving, Oxford University Press, 1997, reprinted 2011, page 115 (1991).
LINKS
FORMULA
a(n) = 22*a(n-1) - 72*a(n-2) for n>1.
G.f.: (4 - 30*x)/((1 - 4*x)*(1 - 18*x)). - Alejandro J. Becerra Jr., Jun 01 2020
EXAMPLE
a(4) = 4^4 + 3 * 18^4 = 315184 = 2^4 * 19699 is not a perfect square.
MAPLE
S:=seq(4^n+3*18^n, n=0..20);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Bernard Schott, May 18 2020
STATUS
approved