login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138681
Prime(n)^12 mod prime(n-1).
10
1, 1, 1, 1, 4, 1, 16, 7, 6, 7, 1, 10, 37, 35, 37, 44, 25, 20, 14, 49, 8, 65, 17, 8, 96, 56, 61, 30, 45, 49, 8, 7, 123, 44, 73, 9, 101, 115, 128, 148, 158, 82, 85, 112, 156, 121, 148, 34, 10
OFFSET
2,5
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
EXAMPLE
a(1)=1 because 3^12 = 1 mod 2
a(2)=2 because 5^12 = 1 mod 3
MATHEMATICA
Table[Mod[Prime[n]^12, Prime[n - 1]], {n, 2, 50}]
KEYWORD
nonn
AUTHOR
Artur Jasinski, Mar 26 2008
STATUS
approved