Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A007736
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A007736 Period of repeating digits of 1/n in base 5. +0
3
1, 1, 2, 1, 1, 2, 6, 2, 6, 1, 5, 2, 4, 6, 2, 4, 16, 6, 9, 1, 6, 5, 22, 2, 1, 4, 18, 6, 14, 2, 3, 8, 10, 16, 6, 6, 36, 9, 4, 2, 20, 6, 42, 5, 6, 22, 46, 4, 42, 1, 16, 4, 52, 18, 5, 6, 18, 14, 29, 2, 30, 3, 6, 16, 4, 10, 22, 16, 22, 6, 5, 6, 72, 36, 2, 9, 30, 4, 39, 4, 54, 20, 82, 6, 16, 42, 14, 10, 44 (list; graph; listen)
OFFSET

1,3

LINKS

Index entries for sequences related to decimal expansion of 1/n

PROGRAM

(PARI) A007736(n, bas)={ local(p) ; for(sp=2, 1000000, for(s=1, sp-1, p=sp-s ; if( ((bas^p-1)*bas^s) % n == 0, return(p) ; ) ; ) ; ) ; return(-1) ; } { for(n=1, 100, print(n, " ", A007736(n, 5)) ; ) ; } - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 30 2006

CROSSREFS

Sequence in context: A156588 A113186 A123218 this_sequence A107042 A134830 A022874

Adjacent sequences: A007733 A007734 A007735 this_sequence A007737 A007738 A007739

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Hal Sampson [ hals(AT)easynet.com ], David W. Wilson (davidwwilson(AT)comcast.net)

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 November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research