Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A036118
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A036118 2^n mod 13. +0
3
1, 2, 4, 8, 3, 6, 12, 11, 9, 5, 10, 7, 1, 2, 4, 8, 3, 6, 12, 11, 9, 5, 10, 7, 1, 2, 4, 8, 3, 6, 12, 11, 9, 5, 10, 7, 1, 2, 4, 8, 3, 6, 12, 11, 9, 5, 10, 7, 1, 2, 4, 8, 3, 6, 12, 11, 9, 5, 10, 7, 1, 2, 4, 8, 3, 6, 12, 11, 9, 5, 10, 7 (list; graph; listen)
OFFSET

0,2

COMMENT

The sequence is 12-periodic.

REFERENCES

I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.

FORMULA

a(n)=1/132*{79*(n mod 12)+46*[(n+1) mod 12]-42*[(n+2) mod 12]+57*[(n+3) mod 12]+35*[(n+4) mod 12]+24*[(n+5) mod 12]-53*[(n+6) mod 12]-20*[(n+7) mod 12]+68*[(n+8) mod 12]-31*[(n+9) mod 12]-9*[(n+10) mod 12]+2*[(n+11) mod 12]) - Paolo P. Lava (ppl(AT)spl.at), Nov 24 2006

a(n)=6.5 + 0*( - 1)^n + ( - 5/3 - 2/3*3^(1/2))*cos(Pi*n/6) + ( - 1/3 - 3^(1/2))*sin(Pi*n/6) - 13/6*cos(Pi*n/2) - 13/6*sin(Pi*n/2) + ( - 5/3 + 2/3*3^(1/2))*cos(5*Pi*n/6) + (3^(1/2) - 1/3)*sin(5*Pi*n/6) [From Richard Choulet (richardchoulet(AT)yahoo.fr), Dec 12 2008]

MAPLE

[ seq(primroot(ithprime(i))^j mod ithprime(i), j=0..100) ];

PROGRAM

(Other) sage: [power_mod(2, n, 13)for n in xrange(0, 72)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Nov 03 2009]

CROSSREFS

Cf. A008831.

Sequence in context: A086317 A110217 A139080 this_sequence A101942 A050170 A087089

Adjacent sequences: A036115 A036116 A036117 this_sequence A036119 A036120 A036121

KEYWORD

nonn,new

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

page 1

Search completed in 0.005 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 December 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research