login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A102821 Numbers n for which the square excess of n-th prime is prime. 3
2, 4, 5, 8, 9, 13, 14, 15, 19, 20, 23, 27, 28, 30, 35, 36, 37, 38, 39, 46, 49, 56, 57, 67, 68, 69, 71, 81, 83, 86, 93, 94, 96, 98, 107, 108, 109, 111, 112, 113, 114, 124, 128, 138, 139, 142, 144, 155, 156, 157, 158, 159, 160, 161, 162, 173, 178, 182, 192, 195, 196, 199 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
EXAMPLE
7 - 2^2 = 3 is the square excess (see A056892) of 7 and it is prime. 7 is the 4th prime, so 4 is in the sequence.
MATHEMATICA
Select[Range[200], PrimeQ[Prime[#]-Floor[Sqrt[Prime[#]]]^2]&] (* Harvey P. Dale, Jul 06 2014 *)
CROSSREFS
Cf. A056892.
Sequence in context: A189134 A189019 A189016 * A101881 A143989 A064573
KEYWORD
easy,nonn
AUTHOR
Olaf Voß, Feb 27 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 02:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)