|
|
|
|
18, 37, 75, 151, 303, 607, 1215, 2431, 4863, 9727, 19455, 38911, 77823, 155647, 311295, 622591, 1245183, 2490367, 4980735, 9961471, 19922943, 39845887, 79691775, 159383551, 318767103, 637534207, 1275068415, 2550136831, 5100273663, 10200547327, 20401094655
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n+1) = 2*a(n) + 1.
G.f.: ( 18-17*x ) / ( (2*x-1)*(x-1) ). - R. J. Mathar, Oct 25 2011
|
|
EXAMPLE
|
a(2) = 19*2^2-1 = 75.
|
|
MAPLE
|
|
|
MATHEMATICA
|
19*2^Range[0, 30]-1 (* or *) LinearRecurrence[{3, -2}, {18, 37}, 40] (* Harvey P. Dale, Dec 18 2013 *)
|
|
PROG
|
(BASIC) for j = 0 to 30 : print str$((19*2^j)-1)+", "; : next j
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|