Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A092915
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A092915 a(n) = largest k such that n divides (n-1)!/k!, or 0 if no such k exists (i.e. if n is prime). +0
3
2, 0, 3, 2, 4, 0, 7, 0, 6, 9, 9, 0, 11, 0, 14, 13, 10, 0, 19, 14, 12, 17, 20, 0, 24, 0, 23, 21, 16, 27, 29, 0, 18, 25, 34, 0, 34, 0, 32, 38, 22, 0, 41, 34, 39, 33, 38, 0, 44, 43, 48, 37, 28, 0, 54, 0, 30, 55, 55, 51, 54, 0, 50, 45, 62, 0, 65, 0, 36, 64, 56, 65, 64, 0, 73, 71, 40, 0, 76 (list; graph; listen)
OFFSET

6,1

COMMENT

Value of k in A092914, or 0 if n is prime.

EXAMPLE

a(9) =2 as 9 divides 8!/2! but 9 does not divide 8!/3!.

18 divides 17!/11! = 8910720 but 18 does not divide 17!/12!, so a(18) = 11.

PROGRAM

(PARI) m=85; for(n=6, m, k=1; while(((n-1)!/k!)%n==0, k++); print1(k-1, ", "))

CROSSREFS

Cf. A092914, A092916.

Adjacent sequences: A092912 A092913 A092914 this_sequence A092916 A092917 A092918

Sequence in context: A089196 A140944 A057860 this_sequence A063749 A008807 A008819

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Mar 16 2004

EXTENSIONS

Edited, corrected and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Mar 17 2004

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 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research