Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A060260
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A060260 Numbers n such that p(n), p(n+1) and p(n+2) have 10 as a primitive root, but p(n-1) and p(n+3) do not, where p(n)=A000040(n) is the n-th prime. +0
4
55, 75, 141, 164, 184, 199, 358, 371, 380, 432, 559, 702, 745, 808, 825, 858, 882, 1077, 1097, 1279, 1299, 1303, 1328, 1408, 1431, 1486, 1502, 1558, 1654, 1702, 1724, 1744, 1768, 1820, 1835, 1873, 1901, 1905, 1953, 1977, 2050, 2148, 2216, 2220, 2267 (list; graph; listen)
OFFSET

1,1

COMMENT

A prime p has 10 as a primitive root iff the length of the period of the decimal expansion of 1/p is p-1.

MATHEMATICA

test[p_] := MultiplicativeOrder[10, p]===p-1; Select[Range[2, 2500], test[Prime[ # ]]&&test[Prime[ #+1]]&&test[Prime[ #+2]]&&!test[Prime[ #-1]]&&!test[Prime[ #+3]]&]

CROSSREFS

The corresponding primes p(n) are in A060261. Cf. A001913, A002371, A060259, A060262.

Sequence in context: A068899 A053719 A050781 this_sequence A152080 A119224 A135984

Adjacent sequences: A060257 A060258 A060259 this_sequence A060261 A060262 A060263

KEYWORD

nonn

AUTHOR

Jeff Burch (gburch(AT)erols.com), Mar 23 2001

EXTENSIONS

Edited by Dean Hickerson (dean.hickerson(AT)yahoo.com), Jun 17 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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research