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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157363 686n - 14. 3
672, 1358, 2044, 2730, 3416, 4102, 4788, 5474, 6160, 6846, 7532, 8218, 8904, 9590, 10276, 10962, 11648, 12334, 13020, 13706, 14392, 15078, 15764, 16450, 17136, 17822, 18508, 19194, 19880, 20566, 21252, 21938, 22624, 23310, 23996, 24682 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

The identity (4802*n^2-196*n+1)^2-(49*n^2-2*n)*(686*n-14)^2=1 can be written as A157364(n)^2-A157362(n)*a(n)^2=1.

LINKS

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

Vincenzo Librandi, X^2-AY^2=1

Index to sequences with linear recurrences with constant coefficients, signature (2,-1).

FORMULA

a(n) = 2*a(n-1) -a(n-2).

G.f.: 14*x*(48+x)/(1-x)^2.

MATHEMATICA

LinearRecurrence[{2, -1}, {672, 1358}, 50]

PROG

(MAGMA) I:=[672, 1358]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..40]];

(PARI) a(n) = 686*n-14.

CROSSREFS

Cf. A157362, A157364.

Sequence in context: A172963 A053085 A057695 * A057805 A057796 A057797

Adjacent sequences:  A157360 A157361 A157362 * A157364 A157365 A157366

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Feb 28 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 23:34 EST 2012. Contains 205860 sequences.