login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A007734 Period of repeating digits of 1/n in base 3. 2
1, 1, 1, 2, 4, 1, 6, 2, 1, 4, 5, 2, 3, 6, 4, 4, 16, 1, 18, 4, 6, 5, 11, 2, 20, 3, 1, 6, 28, 4, 30, 8, 5, 16, 12, 2, 18, 18, 3, 4, 8, 6, 42, 10, 4, 11, 23, 4, 42, 20, 16, 6, 52, 1, 20, 6, 18, 28, 29, 4, 10, 30, 6, 16, 12, 5, 22, 16, 11, 12, 35, 2, 12, 18, 20, 18, 30, 3, 78, 4, 1, 8, 41, 6, 16, 42 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

T. D. Noe, Table of n, a(n) for n=1..1000

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

MATHEMATICA

f[n_] := MultiplicativeOrder[3, n/(3^IntegerExponent[n, 3])]; Array[f, 80] (* Robert G. Wilson v, Jun 10 2011 *)

PROG

(PARI) a(n)=znorder(Mod(3, n/3^valuation(n, 3))) \\ Charles R Greathouse IV, Jun 10 2011

CROSSREFS

Sequence in context: A125847 A078886 A095247 * A171233 A096907 A249146

Adjacent sequences:  A007731 A007732 A007733 * A007735 A007736 A007737

KEYWORD

nonn,base

AUTHOR

N. J. A. Sloane, Hal Sampson (hals(AT)easynet.com)

EXTENSIONS

More terms from David W. Wilson

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 17 14:12 EST 2019. Contains 319225 sequences. (Running on oeis4.)