Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A008960
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A008960 Final digits of cubes. +0
2
0, 1, 8, 7, 4, 5, 6, 3, 2, 9, 0, 1, 8, 7, 4, 5, 6, 3, 2, 9, 0, 1, 8, 7, 4, 5, 6, 3, 2, 9, 0, 1, 8, 7, 4, 5, 6, 3, 2, 9, 0, 1, 8, 7, 4, 5, 6, 3, 2, 9, 0, 1, 8, 7, 4, 5, 6, 3, 2, 9, 0, 1, 8, 7, 4, 5, 6, 3, 2, 9, 0, 1, 8, 7, 4, 5, 6, 3, 2, 9, 0 (list; graph; listen)
OFFSET

0,3

COMMENT

n^3 mod 10. [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Oct 29 2009]

LINKS

Index entries for sequences related to final digits of numbers

FORMULA

Periodic with period 10. - Frank Adams-Watters (FrankTAW(AT)Netscape.net), Mar 13 2006

a(n)=1/5*{5*(n mod 10)-3*[(n+1) mod 10]+[(n+2) mod 10]+2*[(n+3) mod 10]+2*[(n+6) mod 10]+[(n+7) mod 10]-3*[(n+8) mod 10]} with n>=0 - Paolo P. Lava (ppl(AT)spl.at), Nov 24 2006

a(n) = 4.5 - cos(Pi*n/5) + (1/2*( - (5 - 5^(1/2))^(1/2) + (5 + 5^(1/2))^(1/2))*2^(1/2))*sin(Pi*n/5) - cos(2*Pi*n/5) + ( - 1/10*( - (5 - 5^(1/2))^(1/2) + 3*(5 + 5^(1/2))^(1/2))*2^(1/2))*sin(2*Pi*n/5) - cos(3*Pi*n/5) + ( - 1/2*((5 - 5^(1/2))^(1/2) + (5 + 5^(1/2))^(1/2))*2^(1/2))*sin(3*Pi*n/5) - cos(4*Pi*n/5) + ( - 1/10*(3*(5 - 5^(1/2))^(1/2) + (5 + 5^(1/2))^(1/2))*2^(1/2))*sin(4*Pi*n/5) - 0.5*( - 1)^n [From Richard Choulet (richardchoulet(AT)yahoo.fr), Dec 12 2008]

PROGRAM

(Other) sage: [power_mod(n, 3, 10 )for n in xrange(0, 81)] # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Oct 29 2009]

CROSSREFS

Sequence in context: A072102 A154815 A085848 this_sequence A077744 A111448 A070482

Adjacent sequences: A008957 A008958 A008959 this_sequence A008961 A008962 A008963

KEYWORD

nonn,easy,base

AUTHOR

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

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 December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research