|
|
A137410
|
|
a(n) = (5^n - 3) / 2.
|
|
3
|
|
|
-1, 1, 11, 61, 311, 1561, 7811, 39061, 195311, 976561, 4882811, 24414061, 122070311, 610351561, 3051757811, 15258789061, 76293945311, 381469726561, 1907348632811, 9536743164061, 47683715820311, 238418579101561, 1192092895507811, 5960464477539061, 29802322387695311, 149011611938476561
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Sequence is a(n) = a(n;5,3,1) where a(n;A,B,r) = (A^n - B^r)/(A - B) for arbitrary integers A, B, r with A != B.
Primes of this form are sometimes of interest, examples:
Sum of n-th row of triangle of powers of 5: 1; 5 1 5; 25 5 1 5 25; 125 25 5 1 5 25 125; ... (cf. Examples). - Philippe Deléham, Feb 24 2014
Integer solutions to x^5 - (x+1)^5 -(x+2)^5 +(x+3)^5 = 5^m + 5^n (see Campbell and Zujev). - Michel Marcus, Mar 02 2016
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (5^n - 3)/2.
a(n) = 6*a(n-1) - 5*a(n-2).
G.f.: (-1+7*x)/((1-x)*(1-5*x)). (End)
|
|
EXAMPLE
|
a(1) = 1;
a(2) = 5 + 1 + 5 = 11;
a(3) = 25 + 5 + 1 + 5 + 25 = 61;
a(4) = 125 + 25 + 5 + 1 + 5 + 25 + 125 = 311;
etc. (End)
|
|
MATHEMATICA
|
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
sign,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Edited and missing term a(0) inserted by M. F. Hasler, Jul 10 2018
|
|
STATUS
|
approved
|
|
|
|