Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A085378
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A085378 Difference between primes p and the largest prime divisor of p-1. +0
1
3, 4, 6, 10, 15, 16, 12, 22, 26, 34, 36, 36, 24, 40, 30, 56, 56, 64, 70, 66, 42, 78, 94, 96, 86, 54, 106, 106, 120, 118, 120, 116, 112, 146, 144, 160, 84, 130, 90, 176, 172, 190, 190, 188, 204, 186, 114, 210, 204, 222, 236, 246, 255, 132, 202, 266, 254, 274, 236 (list; graph; listen)
OFFSET

5,1

COMMENT

This sequence contains only one prime number = 3. All other numbers are even.

EXAMPLE

For prime 107 we have 107 - 53 = 54

PROGRAM

(PARI) cminuspm1(n) = \ prime - maxprime of prime-1 { forprime(x=5, n, forstep(p=x, 2, -1, if(isprime(p) & (x-1)%p==0, print1(x-p, ", "); break); ) ) }

CROSSREFS

Adjacent sequences: A085375 A085376 A085377 this_sequence A085379 A085380 A085381

Sequence in context: A113887 A103000 A074321 this_sequence A125869 A059618 A114736

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Aug 12 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 October 12 12:59 EDT 2008. Contains 144830 sequences.


AT&T Labs Research