Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A060084
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A060084 a(n) is the least prime not a primitive root of n-th prime. +0
2
2, 3, 5, 2, 3, 3, 2, 5, 2, 5, 2, 3, 2, 2, 2, 7, 3, 3, 3, 2, 2, 2, 3, 2, 2, 5, 2, 3, 2, 2, 2, 3, 2, 5, 5, 2, 2, 5, 2, 13, 3, 3, 2, 2, 7, 2, 5, 2, 3, 2, 2, 2, 2, 2, 2, 2, 5, 2, 2, 2, 2, 17, 2, 2, 2, 7, 2, 2, 3, 3, 2, 2, 2, 3, 5, 2, 5, 2, 2, 2, 3, 3, 2, 2, 2, 3, 2, 2, 5, 2, 3, 2, 2, 3, 2, 2, 5, 2, 3, 3, 3, 7, 3, 2, 2, 2 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(8)=5 because 19 is the 8th prime, primes 2 and 3 are primitive roots of 19, but 5 isn't.

MAPLE

with(numtheory); for n from 1 to 100 do i := 1; while (i < n) and (primroot(ithprime(i) - 1, ithprime(n)) = ithprime(i)) do i := i+1; od; print( ithprime(i)); od:

CROSSREFS

Cf. A000040, A060085.

Sequence in context: A065996 A133906 A133907 this_sequence A138182 A102044 A125766

Adjacent sequences: A060081 A060082 A060083 this_sequence A060085 A060086 A060087

KEYWORD

easy,nonn

AUTHOR

Marc LeBrun (mlb(AT)well.com), Feb 23 2001

EXTENSIONS

Corrected by Jud McCranie (j.mccranie(AT)comcast.net), Mar 14 2001. Checked by njas Sep 03 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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research