OFFSET
1,1
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..500
FORMULA
a(n)=6^(2*n-1) - floor(sqrt(6^(2*n-1)))^2
EXAMPLE
a(1)=6^1-2^2=2, a(2)=6^3-14^2=216-196=20, a(3)=6^5-88^2=7776-7744=32
MATHEMATICA
#-Floor[Sqrt[#]]^2&/@(6^Range[1, 51, 2]) (* Harvey P. Dale, Aug 12 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Nov 27 2011
STATUS
approved