Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A145908
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A145908 Primes p such that p + floor(sqrt(p)) OR p + ceiling(sqrt(p)) is also prime. +0
2
2, 3, 5, 13, 19, 31, 37, 41, 47, 53, 59, 71, 97, 103, 127, 137, 139, 151, 167, 179, 197, 241, 277, 293, 313, 331, 349, 389, 401, 419, 457, 487, 499, 547, 563, 569, 577, 593, 607, 617, 619, 647, 683, 701, 733, 769, 811, 829, 853, 857, 877, 881, 907, 911, 937 (list; graph; listen)
OFFSET

1,1

LINKS

K. D. Balliet List of Primes Generated in p + floor(sqrt(p)) OR p + ceiling(sqrt(p))

FORMULA

A145907 UNION A086085. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 31 2008]

EXAMPLE

p = 3; 3 + ceiling(sqrt(3)) = 5, which is prime. p = 5; 5 + floor(sqrt(5)) = 7, which is prime.

MAPLE

for n from 1 to 820 do p := ithprime(n) ; f := p+floor(sqrt(p)) ; c := p+ceil(sqrt(p)) ; if isprime(f) or isprime(c) then printf("%d, ", p) ; fi; od: [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 31 2008]

CROSSREFS

A145907, A086085

Sequence in context: A157976 A155738 A164958 this_sequence A061305 A142881 A163159

Adjacent sequences: A145905 A145906 A145907 this_sequence A145909 A145910 A145911

KEYWORD

nonn

AUTHOR

Kyle Balliet (kdballie(AT)bloomu.edu), Oct 24 2008, Nov 06 2008

EXTENSIONS

2 terms inserted and sequence extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 31 2008

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