login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138678 Prime(n)^9 mod prime(n-1). 10
1, 2, 2, 1, 6, 12, 2, 1, 16, 19, 30, 36, 20, 16, 3, 11, 40, 8, 40, 15, 46, 22, 2, 32, 50, 7, 9, 84, 108, 111, 16, 128, 101, 84, 65, 107, 23, 40, 81, 100, 154, 159, 130, 50, 118, 96, 67, 119, 58 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,2

COMMENTS

Related sequences type prime(n)^k mod prime(n-1) (k=1,2,3,4)

prime(n) mod prime(n-1) is given in A001223

prime(n)^2 mod prime(n-1) is given in A038702

prime(n)^3 mod prime(n-1) is given in A138672

prime(n)^4 mod prime(n-1) is given in A138673

prime(n)^5 mod prime(n-1) is given in A138674

prime(n)^6 mod prime(n-1) is given in A138675

prime(n)^7 mod prime(n-1) is given in A138676

prime(n)^8 mod prime(n-1) is given in A138677

prime(n)^9 mod prime(n-1) is given in A138678

prime(n)^10 mod prime(n-1) is given in A138679

prime(n)^11 mod prime(n-1) is given in A138680

prime(n)^12 mod prime(n-1) is given in A138681

LINKS

Harvey P. Dale, Table of n, a(n) for n = 2..1000

EXAMPLE

a(1)=1 because 3^9 = 1 mod 2

a(2)=2 because 5^9 = 2 mod 3

MATHEMATICA

Table[Mod[Prime[n]^9, Prime[n - 1]], {n, 2, 50}]

PowerMod[Last[#], 9, First[#]]&/@Partition[Prime[Range[50]], 2, 1] (* Harvey P. Dale, Aug 16 2013 *)

CROSSREFS

Cf. A001223, A038702, A138672, A138673, A138674, A138675, A138676, A138677, A138678, A138679, A138680, A138681.

Sequence in context: A184184 A074297 A020824 * A181731 A278792 A108338

Adjacent sequences:  A138675 A138676 A138677 * A138679 A138680 A138681

KEYWORD

nonn

AUTHOR

Artur Jasinski, Mar 26 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 16:17 EDT 2019. Contains 328223 sequences. (Running on oeis4.)