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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118664 Least prime p such that n*(p#^2)-1 is prime or 0 if n is a square so no prime possible. 0
2, 2, 2, 0, 2, 2, 3, 2, 0, 3, 2, 2, 3, 3, 2, 0, 2, 2, 3, 2, 2, 269, 3, 3, 0, 2, 2, 7, 5, 29, 11, 2, 2, 3, 2, 0, 11, 2, 5, 3, 2, 2, 5, 3, 2, 5, 5, 2, 0, 2, 17, 3, 2, 11, 3, 2, 2, 3, 7, 2, 7, 5, 2, 0, 3, 2, 3, 2, 5, 7, 2, 3, 5, 3, 3, 5, 2, 2, 3, 3, 0, 41, 2, 3, 7, 7, 2, 3, 3, 2, 5, 2, 3, 53, 2, 2, 3, 3, 7, 0 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

1*(2^2)-1=3 prime so a(1)=2

7*(2^2)-1=27 composite

7*((2*3)^2)-1=251 prime so a(7)=3

CROSSREFS

Sequence in context: A108352 A036476 A104994 * A118205 A130277 A109135

Adjacent sequences:  A118661 A118662 A118663 * A118665 A118666 A118667

KEYWORD

nonn

AUTHOR

Pierre CAMI (pierre-cami(AT)bbox.fr), May 19 2006

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 17 16:49 EST 2012. Contains 206058 sequences.