|
|
A158409
|
|
a(n) = 900*n - 1.
|
|
2
|
|
|
899, 1799, 2699, 3599, 4499, 5399, 6299, 7199, 8099, 8999, 9899, 10799, 11699, 12599, 13499, 14399, 15299, 16199, 17099, 17999, 18899, 19799, 20699, 21599, 22499, 23399, 24299, 25199, 26099, 26999, 27899, 28799, 29699, 30599, 31499
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The identity (900*n - 1)^2 - (900*n^2 - 2*n)*30^2=1 can be written as a(n)^2 - A158408(n)*30^2 = 1.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 2*a(n-1) - a(n-2); a(1)=899, a(2)=1799. - Harvey P. Dale, Dec 08 2011
|
|
MATHEMATICA
|
900*Range[40]-1 (* or *) LinearRecurrence[{2, -1}, {899, 1799}, 40] (* Harvey P. Dale, Dec 08 2011 *)
|
|
PROG
|
(Magma) I:=[899, 1799]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]]; // Vincenzo Librandi, Feb 12 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|