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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A076606 Min { largest prime factor of n-1, largest prime factor of n+1 }. 0
2, 3, 2, 5, 2, 3, 2, 3, 3, 11, 3, 5, 2, 5, 2, 17, 3, 7, 5, 7, 3, 5, 3, 3, 7, 3, 5, 29, 2, 11, 2, 7, 3, 7, 3, 13, 5, 13, 5, 41, 7, 5, 11, 5, 3, 7, 3, 7, 5, 17, 3, 11, 3, 11, 7, 19, 5, 59, 5, 7, 2, 7, 2, 13, 11, 23, 7, 23, 3, 71, 3, 5, 19, 5, 13, 11, 5, 3, 5, 3, 7, 17, 7, 17, 11, 29, 5, 13, 5, 13 (list; graph; refs; listen; history; internal format)
OFFSET

3,1

EXAMPLE

a[11]=3, as 3 is the smallest prime factor from 10=2.5 and 12=2.2.3

PROG

(PARI) for (n=3, 100, print1(", "min(factor(n-1)[, 1][length(factor(n-1)[, 1])], factor(n+1)[, 1][length(factor(n+1)[, 1])])))

CROSSREFS

Sequence in context: A112763 A093476 A066727 * A056927 A094290 A101876

Adjacent sequences:  A076603 A076604 A076605 * A076607 A076608 A076609

KEYWORD

nonn

AUTHOR

Jon Perry (perry(AT)globalnet.co.uk), Oct 21 2002

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 16 11:25 EST 2012. Contains 205907 sequences.