Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A060370
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A060370 Ratios (p-1)/d, where p is a prime and d is the number of digits of the periodic part of the decimal expansion of 1/p. +0
2
1, 2, 4, 1, 5, 2, 1, 1, 1, 1, 2, 12, 8, 2, 1, 4, 1, 1, 2, 2, 9, 6, 2, 2, 1, 25, 3, 2, 1, 1, 3, 1, 17, 3, 1, 2, 2, 2, 1, 4, 1, 1, 2, 1, 2, 2, 7, 1, 2, 1, 1, 34, 8, 5, 1, 1, 1, 54, 4, 10, 2, 2, 2, 2, 1, 4, 3, 1 (list; graph; listen)
OFFSET

1,2

COMMENT

The sequence of 2nd, 4th and following terms coincides with A006556, which gives the "number of different cycles of digits in the decimal expansions of 1/p, 2/p, ..., (p-1)/p where p = n-th prime different from 2 or 5".

FORMULA

a(n) = (b(n)-1)/c(n), where b(n) and c(n) are the n-th terms of A000040 and A048595 respectively.

EXAMPLE

a(13) = 40/5 = 8, since 41 is the 13th prime and the periodic part of 1/41 = 0,02439024390... consists of 5 digits.

CROSSREFS

A000040, A060283, A048595, A006556.

Sequence in context: A004597 A077623 A132042 this_sequence A165064 A021418 A094640

Adjacent sequences: A060367 A060368 A060369 this_sequence A060371 A060372 A060373

KEYWORD

nonn,base

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Apr 01 2001

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 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research