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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A176010 Positive numbers k such that k^2 == 2 (mod 97). 5
14, 83, 111, 180, 208, 277, 305, 374, 402, 471, 499, 568, 596, 665, 693, 762, 790, 859, 887, 956, 984, 1053, 1081, 1150, 1178, 1247, 1275, 1344, 1372, 1441, 1469, 1538, 1566, 1635, 1663, 1732, 1760, 1829, 1857, 1926, 1954, 2023, 2051, 2120, 2148, 2217 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

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

FORMULA

a(n) = (-97 + 41*(-1)^n + 194*n)/4.

a(n) = a(n-1) + a(n-2) - a(n-3) for n > 3; a(1)=14, a(2)=83, a(3)=111.

a(n) = a(n-1) + 69 for n even, a(n) = a(n-1) + 28 for n odd, a(1)=14.

G.f.: x*(14+69*x+14*x^2) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Aug 24 2011

MATHEMATICA

Table[(97-41*(-1)^(n-1)+194*(n-1))/4, {n, 1, 50}] (* Vincenzo Librandi, Jul 13 2012 *)

PROG

(MAGMA) [(-97+41*(-1)^n+194*n)/4: n in [1..50]]; // Vincenzo Librandi, Jul 13 2012

CROSSREFS

Sequence in context: A215700 A199912 A082971 * A250562 A166819 A108683

Adjacent sequences:  A176007 A176008 A176009 * A176011 A176012 A176013

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Apr 06 2010

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 October 23 13:32 EDT 2021. Contains 348214 sequences. (Running on oeis4.)