Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A059955
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A059955 a(n)= [p(n)!/lcm{1,2,...,p(n)}] modulo[p(n)], where p(n) = n-th prime. +0
2
1, 2, 5, 10, 3, 10, 4, 3, 28, 17, 18, 30, 20, 41, 42, 14, 19, 30, 37, 63, 50, 7, 12, 83, 30, 91, 19, 69, 91, 97, 56, 22, 80, 39, 137, 44, 9, 154, 19, 37, 141, 141, 168, 126, 183, 200, 205, 136, 55, 95, 204, 126, 213, 230, 68, 63, 158, 202, 162, 102, 182, 104, 38, 165 (list; graph; listen)
OFFSET

2,2

COMMENT

a(n) gives also the smallest coefficient for which the multiple M of lcm(1 through p(n)-1) satisfies p(n) divides M + 1. This computes the solution of the puzzle requiring the smallest number such that grouping in 2's, 3's, etc. up to the n-th prime,all leave a remainder of one except the last which leaves no remainder.

EXAMPLE

a(7)=10 because p(7)=17 and [17!/lcm(1,2,...,17)] mod 17 = 29030400 mod 17 = 10

MAPLE

for n from 2 to 150 do printf(`%d, `, floor(ithprime(n)!/ilcm(i $ i=1..ithprime(n))) mod ithprime(n) ); od:

CROSSREFS

Cf. A025527, A003418.

Sequence in context: A109469 A083460 A125974 this_sequence A099796 A022831 A064365

Adjacent sequences: A059952 A059953 A059954 this_sequence A059956 A059957 A059958

KEYWORD

nonn

AUTHOR

Lekraj Beedassy (blekraj(AT)yahoo.com), Mar 13 2001

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu), Mar 15 2001

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