OFFSET
0,2
COMMENTS
127 is the 4th Mersenne prime A000668.
LINKS
FORMULA
a(n) = 127*n.
From Chai Wah Wu, Aug 10 2023: (Start)
a(n) = 2*a(n-1) - a(n-2) for n > 1.
G.f.: 127*x/(x - 1)^2. (End)
EXAMPLE
a(64)=8128 (The 4th perfect number A000396) because 127*64=8128.
MATHEMATICA
127*Range[0, 40] (* Harvey P. Dale, Jan 17 2013 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Omar E. Pol, Mar 09 2008
STATUS
approved