login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A143860 Ulam's spiral (NNW spoke). 3
1, 16, 63, 142, 253, 396, 571, 778, 1017, 1288, 1591, 1926, 2293, 2692, 3123, 3586, 4081, 4608, 5167, 5758, 6381, 7036, 7723, 8442, 9193, 9976, 10791, 11638, 12517, 13428, 14371, 15346, 16353, 17392, 18463, 19566, 20701, 21868, 23067, 24298 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Also, except for the first term, sequence found by reading the line from 16, in the direction 16, 63,... in the square spiral whose vertices are the generalized decagonal numbers A074377. - Omar E. Pol, Nov 05 2012

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

Index entries for linear recurrences with constant coefficients, signature (3,-3,1).

FORMULA

a(n) = 16*n^2-33*n+18. [From R. J. Mathar, Sep 08 2008]

G.f. x*(1+13*x+18*x^2) / (1-x)^3 . - R. J. Mathar, Oct 31 2011

a(n) = 3*a(n-1) -3*a(n-2) +a(n-3). - Vincenzo Librandi, Jul 10 2012

MATHEMATICA

f[n_] := 16n^2 -33n +18; Array[f, 40] (* Robert G. Wilson v, Oct 31 2011 *)

PROG

(MAGMA) [16*n^2-33*n+18: n in [1..40]]; // Vincenzo Librandi, Jul 10 2012

(PARI) a(n)=16*n^2-33*n+18 \\ Charles R Greathouse IV, Jun 17 2017

CROSSREFS

Sequence in context: A118254 A066391 A022289 * A100176 A060091 A076751

Adjacent sequences:  A143857 A143858 A143859 * A143861 A143862 A143863

KEYWORD

nonn,easy

AUTHOR

Vladimir Joseph Stephan Orlovsky, Sep 03 2008

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 09:59 EDT 2019. Contains 322309 sequences. (Running on oeis4.)