Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126782
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126782 Primes of the form [n! mod (n!!+1)]/2, with n>=1. +0
1
3, 17, 29, 281, 254993, 690953, 607435538171963, 19213379438060803150599120087308383950505413675145269627742483783945563256960711\ 7048950195313 (list; graph; listen)
OFFSET

1,1

EXAMPLE

n=6 n!=720 n!!=48 [n! mod (n!!+1)]/2 = (720 mod 49)/2 = 34/2 = 17

n=7 n!=5040 n!!=105 [n! mod (n!!+1)]/2 = (5040 mod 106)/2 = 58/2 = 29

MAPLE

P:=proc(n) local i, j, k, w; for i from 2 by 1 to n do k:=i; w:=i-2; while w>0 do k:=k*w; w:=w-2; od; j:=(i! mod (k+1))/2; if isprime(j) then print(j); fi; od; end: P(1000);

CROSSREFS

Cf. A055490.

Sequence in context: A105411 A107158 A152529 this_sequence A090648 A031024 A045437

Adjacent sequences: A126779 A126780 A126781 this_sequence A126783 A126784 A126785

KEYWORD

hard,nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Mar 14 2007

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 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research