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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138328 Number of ways in which n can be represented as p+g, where p is a prime and g is a primitive root of p. 1
0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 2, 2, 1, 2, 1, 2, 0, 0, 1, 2, 2, 1, 2, 2, 2, 3, 0, 0, 2, 1, 2, 2, 0, 3, 3, 3, 0, 1, 2, 4, 0, 2, 0, 4, 2, 2, 5, 4, 2, 3, 1, 2, 4, 2, 3, 0, 3, 1, 5, 1, 6, 3, 4, 4, 4, 2, 2, 3, 3, 5, 3, 3, 0, 4, 1, 3, 5, 4, 5, 4, 2, 2, 4, 6, 3, 1, 2, 4, 2, 4, 4, 0, 5, 6, 5, 7, 2 (list; graph; refs; listen; history; internal format)
OFFSET

1,19

LINKS

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

CROSSREFS

Cf. A060749 (primitive roots), A138325 (least p such that n=p+g).

Sequence in context: A180312 A178819 A046816 * A137264 A193238 A167678

Adjacent sequences:  A138325 A138326 A138327 * A138329 A138330 A138331

KEYWORD

nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), Mar 14 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 19:09 EST 2012. Contains 205852 sequences.