The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A105040 Nonnegative n such that 7*n^2 + 7*n + 1 is a square. 8
 0, 15, 111, 3936, 28320, 999855, 7193295, 253959360, 1827068736, 64504677711, 464068265775, 16383934179360, 117871512438240, 4161454776879855, 29938900091047311, 1056993129393303936, 7604362751613578880, 268472093411122320015, 1931478200009757988335 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Index entries for linear recurrences with constant coefficients, signature (1,254,-254,-1,1). FORMULA a(n) = ((7-2*sqrt(7)*(-1)^n)*(8-3*sqrt(7))^((2n-(-1)^n+1)/2)+(7+2*sqrt(7)*(-1)^n)*(8+3*sqrt(7))^((2n-(-1)^n+1)/2)-14)/28. [Bruno Berselli, Jun 13 2012]. G.f.: -3*x^2*(5*x^2+32*x+5)/((x-1)*(x^2-16*x+1)*(x^2+16*x+1)). [Colin Barker, Jul 22 2012] EXAMPLE 3936 = 254*15 + 111 + 15, 28320 = 254*111 + 111 + 15, 999855 = 254*3936 + 111, 7193295 = 254*28320 + 15. MATHEMATICA LinearRecurrence[{1, 254, -254, -1, 1}, {0, 15, 111, 3936, 28320}, 20] (* Harvey P. Dale, Jul 25 2018 *) PROG (PARI) for(n=0, 7193295, if(issquare(7*n*(n+1)+1), print1(n, ", "))) CROSSREFS Sequence in context: A092646 A222117 A105051 * A298123 A295384 A110822 Adjacent sequences:  A105037 A105038 A105039 * A105041 A105042 A105043 KEYWORD nonn,easy AUTHOR Gerald McGarvey, Apr 03 2005 EXTENSIONS More terms from Colin Barker, Jun 13 2012 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.

Last modified April 18 14:46 EDT 2021. Contains 343089 sequences. (Running on oeis4.)