Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A156619
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A156619 Numbers n such that n^2+1=0 mod (5^2) +0
2
7, 18, 32, 43, 57, 68, 82, 93, 107, 118, 132, 143, 157, 168, 182, 193, 207, 218, 232, 243, 257, 268, 282, 293, 307, 318, 332, 343, 357, 368, 382, 393, 407, 418, 432, 443, 457, 468, 482, 493, 507, 518, 532, 543, 557, 568, 582, 593, 607, 618, 632, 643, 657, 668 (list; graph; listen)
OFFSET

1,1

COMMENT

Also, if a(1)=7, a(2)=18, a(n)=2*a(n-1)-a(n-2)-3 (if n is even); a(n)=2*a(n-1)-a(n-2)+3 (if n is odd); example: a(3)=2*18-7+3=32; a(4)=2*32-18-3=43; a(5)=2*43-32+3=57; a(6)=2*57-43-3=68; the sequence (7,18,32,43,57,68,82,93) repeat to (107,118,..,) (207,218,..,) (307,318,..,) (407,418,...,) and so on

Except for the first term, a(n)=25*n-a(n-1), (with a(1)=18) [From Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Oct 23 2009]

FORMULA

n^2+1=0 mod (5^2)

a(n)=a(n-1)+a(n-2)-a(n-3) = 25*n/2-25/4-3*(-1)^n/4. G.f.: x(7+11x+7x^2)/((1+x)(1-x)^2). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 19 2009]

EXAMPLE

For n=7, 50=0 mod (25); n=18, 325=0 mod (25); n=468, 219025=0 mod (25).

CROSSREFS

Sequence in context: A103571 A103572 A049532 this_sequence A033537 A000566 A133673

Adjacent sequences: A156616 A156617 A156618 this_sequence A156620 A156621 A156622

KEYWORD

nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research