|
|
A056108
|
|
Fourth spoke of a hexagonal spiral.
|
|
37
|
|
|
1, 5, 15, 31, 53, 81, 115, 155, 201, 253, 311, 375, 445, 521, 603, 691, 785, 885, 991, 1103, 1221, 1345, 1475, 1611, 1753, 1901, 2055, 2215, 2381, 2553, 2731, 2915, 3105, 3301, 3503, 3711, 3925, 4145, 4371, 4603, 4841, 5085, 5335, 5591, 5853, 6121, 6395
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
If Y is a 4-subset of an n-set X then, for n >= 4, a(n-4) is the number of 4-subsets of X having at least two elements in common with Y. - Milan Janjic, Dec 08 2007
Equals binomial transform of [1, 4, 6, 0, 0, 0, ...] - Gary W. Adamson, Apr 30 2008
Let f(x) be a polynomial in x. Then f(x + n*f(x)) is congruent to 0 (mod(f(x)); here n belongs to N.
There is nothing interesting in the quotients f(x + n*f(x))/f(x) when x belongs to Z.
However, when x is irrational these quotients consist of two parts, a) rational integers and b) integer multiples of x.
The present sequence is the integer part when the polynomial is x^2 + x + 1 and x = sqrt(2),
f(x+n*f(x))/f(x) = a(n) + A005563(n)*sqrt(2).
Equals triangle A128229 as an infinite lower triangular matrix * A016777 as a vector, where A016777 = (3n+1).
(End)
Numbers of the form ((-h^2+h+1)^2+(h^2-h+1)^2+(h^2+h-1)^2)/(h^2+h+1) for h=n+1. - Bruno Berselli, Mar 13 2013
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*n^2 + n + 1.
a(n) = a(n-1) + 6*n - 2 = 2*a(n-1) - a(n-2) + 6
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
G.f.: (1+2*x+3*x^2)/(1-3*x+3*x^2-x^3). - Colin Barker, Jan 04 2012
|
|
MATHEMATICA
|
LinearRecurrence[{3, -3, 1}, {1, 5, 15}, 50] (* Harvey P. Dale, Dec 26 2023 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|