login
Search: a143838 -id:a143838
     Sort: relevance | references | number | modified | created      Format: long | short | data
Coordination sequence for body-centered tetragonal lattice.
+10
34
1, 10, 34, 74, 130, 202, 290, 394, 514, 650, 802, 970, 1154, 1354, 1570, 1802, 2050, 2314, 2594, 2890, 3202, 3530, 3874, 4234, 4610, 5002, 5410, 5834, 6274, 6730, 7202, 7690, 8194, 8714, 9250, 9802, 10370, 10954, 11554, 12170, 12802, 13450, 14114, 14794, 15490, 16202, 16930, 17674
OFFSET
0,2
COMMENTS
Also sequence found by reading the segment (1, 10) together with the line from 10, in the direction 10, 34, ..., in the square spiral whose vertices are the generalized hexagonal numbers A000217. - Omar E. Pol, Nov 02 2012
LINKS
M. O'Keeffe, Coordination sequences for lattices, Zeit. f. Krist., 210 (1995), 905-908.
M. O'Keeffe, Coordination sequences for lattices, Zeit. f. Krist., 210 (1995), 905-908. [Annotated scanned copy]
FORMULA
a(0) = 1; a(n) = 8*n^2+2 for n>0.
From Gary W. Adamson, Dec 27 2007: (Start)
a(n) = (2n+1)^2 + (2n-1)^2 for n>0.
Binomial transform of [1, 9, 15, 1, -1, 1, -1, 1, ...]. (End)
From Colin Barker, Apr 13 2012: (Start)
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n>3.
G.f.: (1+x)*(1+6*x+x^2)/(1-x)^3. (End)
From Bruce J. Nicholson, Jul 31 2019: (Start) Assume n>0.
a(n) = A016754(n) + A016754(n-1).
a(n) = 2 * A053755(n).
a(n) = A054554(n+1) + A054569(n+1).
a(n) = A033951(n) + A054552(n).
a(n) = A054556(n+1) + A054567(n+1). (End)
E.g.f.: -1 + 2*exp(x)*(1 + 2*x)^2. - Stefano Spezia, Aug 02 2019
Sum_{n>=0} 1/a(n) = 3/4+1/8*Pi*coth(Pi/2) = 1.178172.... - R. J. Mathar, May 07 2024
MAPLE
1, seq(8*k^2+2, k=1..50);
MATHEMATICA
a[0]:= 1; a[n_]:= 8n^2 +2; Table[a[n], {n, 0, 50}] (* Alonso del Arte, Sep 06 2011 *)
LinearRecurrence[{3, -3, 1}, {1, 10, 34, 74}, 50] (* Harvey P. Dale, Feb 13 2022 *)
PROG
(PARI) vector(51, n, if(n==1, 1, 2*(1+(2*n-2)^2)) ) \\ G. C. Greubel, Nov 09 2019
(Magma) [1] cat [2*(1 + 4*n^2): n in [1..50]]; // G. C. Greubel, Nov 09 2019
(Sage) [1]+[2*(1+4*n^2) for n in (1..40)] # G. C. Greubel, Nov 09 2019
(GAP) Concatenation([1], List([1..40], n-> 2*(1+4*n^2) )); # G. C. Greubel, Nov 09 2019
CROSSREFS
Apart from leading term, same as A108100.
Cf. A206399.
Cf. A016754 (SE), A054554 (NE), A054569 (SW), A053755 (NW), A033951 (S), A054552 (E), A054556 (N), A054567 (W) (Ulam spiral spokes).
A143839 (SSE) + A143855 (ESE) = A143838 (SSW) + A143856 (ENE) = A143854 (WSW) + A143861 (NNE) = A143859 (WNW) + A143860 (NNW) = even bisection = a(2n) = A010021(n).
KEYWORD
nonn,easy
STATUS
approved
The spiral of Champernowne read by the South-Southwest ray.
+10
14
1, 1, 2, 8, 1, 8, 2, 3, 1, 4, 5, 0, 8, 9, 0, 9, 1, 1, 5, 4, 2, 2, 2, 2, 1, 2, 0, 2, 8, 3, 9, 6, 3, 4, 9, 2, 6, 5, 1, 1, 7, 7, 3, 2, 6, 8, 7, 7, 3, 9, 0, 5, 1, 1, 6, 1, 3, 1, 1, 4, 3, 1, 1, 1, 3, 5, 2, 1, 1, 5, 7, 4, 1, 1, 8, 0, 7, 2, 2, 2, 2, 2, 2, 2, 8, 5, 9, 2, 2, 6, 8, 8, 2, 2, 5, 1, 8, 3, 3, 6, 4, 9, 3, 3, 9
OFFSET
1,3
FORMULA
See A244677 formula section.
EXAMPLE
See A244677 for the spiral of David Gawen Champernowne.
MATHEMATICA
almostNatural[n_, b_] := Block[{m = 0, d = n, i = 1, l, p}, While[m <= d, l = m; m = (b - 1) i*b^(i - 1) + l; i++]; i--; p = Mod[d - l, i]; q = Floor[(d - l)/i] + b^(i - 1); If[p != 0, IntegerDigits[q, b][[p]], Mod[q - 1, b]]]; f[n_] := 16n^2 - 27n + 12 (* see A244677 formula section *); Array[ almostNatural[ f@#, 10] &, 105]
KEYWORD
nonn,easy
AUTHOR
Robert G. Wilson v, Jul 04 2014
STATUS
approved
Ulam's spiral (NNE spoke).
+10
3
1, 14, 59, 136, 245, 386, 559, 764, 1001, 1270, 1571, 1904, 2269, 2666, 3095, 3556, 4049, 4574, 5131, 5720, 6341, 6994, 7679, 8396, 9145, 9926, 10739, 11584, 12461, 13370, 14311, 15284, 16289, 17326, 18395, 19496, 20629, 21794, 22991, 24220
OFFSET
1,2
COMMENTS
Stanislaw M. Ulam was doodling during the presentation of a "long and very boring paper" at a scientific meeting in 1963. The spiral is its result. Note that conforming to trigonometric conventions, the spiral begins on the abscissa and rotates counterclockwise. Other spirals, orientations, direction of rotation and initial values exist, even in the OEIS.
Also sequence found by reading the segment (1, 14) together with the line from 14, in the direction 14, 59, ..., in the square spiral whose vertices are the generalized decagonal numbers A074377. - Omar E. Pol, Nov 05 2012
REFERENCES
Chris K. Caldwell & G. L. Honaker, Jr., Prime Curios! The Dictionary of Prime Number Trivia, CreateSpace, Sept 2009, pp. 2-3.
LINKS
Martin Gardner, Mathematical Recreations: The Remarkable Lore of the Prime Number, Scientific American 210 3: 120 - 128.
Hermetic Systems, Prime Number Spiral
OEIS wiki, Ulam spiral
Ivars Peterson's MathTrek, Prime Spirals, Science News, May 3 2002.
Robert Sacks, Number Spiral
Scientific American, Cover page of the March 1964
Eric Weisstein's World of Mathematics, Prime Spiral
Wikipedia, Ulam spiral
Robert G. Wilson v, Ulam's spiral
FORMULA
a(n) = 16*n^2 - 35*n + 20. - R. J. Mathar, Sep 08 2008
G.f.: x*(1 + 11*x + 20*x^2)/(1-x)^3. - Colin Barker, Aug 03 2012
E.g.f.: -20 + (20 - 19*x + 16*x^2)*exp(x). - G. C. Greubel, Nov 09 2019
MAPLE
seq( ((32*n-35)^2 +55)/64, n=1..40); # G. C. Greubel, Nov 09 2019
MATHEMATICA
(* From Robert G. Wilson v, Oct 29 2011 *)
f[n_]:= 16n^2 -35n +20; Array[f, 40]
LinearRecurrence[{3, -3, 1}, {1, 14, 59}, 40]
FoldList[#1 + #2 &, 1, 32Range@ 10 - 19] (* End *)
((32*Range[40] -35)^2 +55)/64 (* G. C. Greubel, Nov 09 2019 *)
PROG
(PARI) a(n)=16*n^2-35*n+20 \\ Charles R Greathouse IV, Oct 29 2011
(Magma) [((32*n-35)^2 +55)/64: n in [1..40]]; // G. C. Greubel, Nov 09 2019
(Sage) [((32*n-35)^2 +55)/64 for n in (1..40)] # G. C. Greubel, Nov 09 2019
(GAP) List([1..40], n-> ((32*n-35)^2 +55)/64); # G. C. Greubel, Nov 09 2019
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Search completed in 0.008 seconds