Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A086686
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A086686 Number of 1<=i<n such that i*n-1 is prime. +0
1
0, 0, 2, 3, 1, 5, 2, 4, 3, 5, 2, 8, 1, 7, 5, 7, 3, 10, 4, 9, 6, 10, 3, 13, 6, 8, 7, 11, 5, 19, 6, 9, 7, 9, 6, 18, 5, 13, 9, 16, 5, 22, 7, 16, 13, 12, 9, 19, 7, 16, 11, 15, 8, 21, 12, 16, 14, 14, 6, 33 (list; graph; listen)
OFFSET

1,3

EXAMPLE

For n=10, i=2,3,6,8,9 give primes, so a(10)=5

PROGRAM

(PARI) nphi(n)=local(c); c=0; for (i=1, n-1, if (isprime(i*n-1), c++)); c for(i=1, 60, print1(", "nphi(i)))

CROSSREFS

Sequence in context: A095195 A076791 A075014 this_sequence A021816 A055023 A126773

Adjacent sequences: A086683 A086684 A086685 this_sequence A086687 A086688 A086689

KEYWORD

nonn

AUTHOR

Jon Perry (perry(AT)globalnet.co.uk), Jul 28 2003

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 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research