Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072969
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072969 Least k > 0 such that the last digit of k^n is the same as the last digit of n^k. +0
1
1, 2, 3, 2, 5, 4, 7, 4, 9, 10, 1, 4, 7, 4, 5, 2, 3, 2, 9, 10, 1, 2, 3, 2, 5, 4, 7, 4, 9, 10, 1, 4, 7, 4, 5, 2, 3, 2, 9, 10, 1, 2, 3, 2, 5, 4, 7, 4, 9, 10, 1, 4, 7, 4, 5, 2, 3, 2, 9, 10, 1, 2, 3, 2, 5, 4, 7, 4, 9, 10, 1, 4, 7, 4, 5, 2, 3, 2, 9, 10, 1, 2, 3, 2, 5, 4, 7, 4, 9, 10, 1, 4, 7, 4, 5, 2, 3, 2, 9 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n) is a periodic sequence with period (1, 2, 3, 2, 5, 4, 7, 4, 9, 10, 1, 4, 7, 4, 5, 2, 3, 2, 9, 10, ) of length 20

PROGRAM

(PARI) a(n)=if(n<0, 0, k=1; while(abs(k^n%10-n^k%10)>0, s++); s)

CROSSREFS

Sequence in context: A067316 A127433 A055573 this_sequence A139712 A075365 A075274

Adjacent sequences: A072966 A072967 A072968 this_sequence A072970 A072971 A072972

KEYWORD

base,easy,nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Aug 13 2002

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 11 12:57 EST 2009. Contains 170656 sequences.


AT&T Labs Research