Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A056158
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A056158 Equivalent of the Kurepa hypothesis for left factorial. +0
2
-4, -2, -4, 2, -20, 86, -532, 3706, -29668, 266990, -2669924, 29369138, -352429684, 4581585862, -64142202100, 962133031466, -15394128503492, 261700184559326, -4710603322067908, 89501463119290210, -1790029262385804244 (list; graph; listen)
OFFSET

3,1

COMMENT

For a prime p>2 we have !p == -a(p) mod p, where the left factorial !n = sum_{k=0..n-1} k! (A003422).

FORMULA

a(3)=-4, a(n)=-(n-3)*a(n-1)-2*(n-1); or a(n)=2*(-1)^{n-1}*(n-3)!* Sum_{k=0}^{n-3} frac{(k+2)*(-1)^{k+1}}{k!}

CROSSREFS

Adjacent sequences: A056155 A056156 A056157 this_sequence A056159 A056160 A056161

Sequence in context: A010474 A064887 A114424 this_sequence A010316 A083954 A038702

KEYWORD

sign,easy

AUTHOR

Aleksandar Petojevic (apetoje(AT)ptt.yu), Jul 31 2000

EXTENSIONS

More terms from Larry Reeves (larryr(AT)acm.org), Oct 03 2000

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 October 12 15:26 EDT 2008. Contains 144830 sequences.


AT&T Labs Research