login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A008415 Coordination sequence for 7-dimensional cubic lattice. 5
1, 14, 98, 462, 1666, 4942, 12642, 28814, 59906, 115598, 209762, 361550, 596610, 948430, 1459810, 2184462, 3188738, 4553486, 6376034, 8772302, 11879042, 15856206, 20889442, 27192718, 35011074, 44623502, 56345954, 70534478 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
J. H. Conway and N. J. A. Sloane, Low-Dimensional Lattices VII: Coordination Sequences, Proc. Royal Soc. London, A453 (1997), 2369-2389 (pdf).
Milan Janjić, On Restricted Ternary Words and Insets, arXiv:1905.04465 [math.CO], 2019.
FORMULA
G.f.: ((1+x)/(1-x))^7.
a(n) = 4*n*n*(2*n*n + 7)*(n*n + 14)/45 + 2 - 0^n. - George F. Johnson, Feb 21 2013
a(n) = A008414(n) + A008414(n-1) + a(n-1). - Bruce J. Nicholson, Dec 17 2017
n*a(n) = 14*a(n-1) + (n-2)*a(n-2) for n > 1. - Seiichi Manyama, Jun 06 2018
MATHEMATICA
CoefficientList[Series[((1+x)/(1-x))^7, {x, 0, 30}], x] (* Harvey P. Dale, Oct 11 2015 *)
PROG
(Python)
R = []
for n in range(29):
r=4*n*n*(2*n*n +7)*(n*n +14)//45 +2-0**n
R.append(r)
print(R)
# George F. Johnson Feb 02 2013
(PARI) a(n) = 2*(4*n^6+70*n^4+196*n^2+45)/45-0^n; \\ Altug Alkan, Dec 18 2017
CROSSREFS
Cf. A008414.
Sequence in context: A254469 A296987 A008534 * A003206 A206257 A101376
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)