[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A176872 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Prime numbers p such that p-LargestSquare is prime and p-LargestCube is also prime, (LargestSquare <= p, LargestCube <= p).
(history; published version)
#6 by Harvey P. Dale at Sun Jul 03 18:10:45 EDT 2022
STATUS

editing

approved

#5 by Harvey P. Dale at Sun Jul 03 18:10:43 EDT 2022
LINKS

Harvey P. Dale, <a href="/A176872/b176872.txt">Table of n, a(n) for n = 1..1000</a>

STATUS

approved

editing

#4 by Harvey P. Dale at Sun Jul 03 18:09:33 EDT 2022
STATUS

editing

approved

#3 by Harvey P. Dale at Sun Jul 03 18:09:30 EDT 2022
MATHEMATICA

plsplcQ[p_]:=AllTrue[{p-Floor[Sqrt[p]]^2, p-Floor[Surd[p, 3]]^3}, PrimeQ]; Select[ Prime[ Range[1000]], plsplcQ] (* Harvey P. Dale, Jul 03 2022 *)

STATUS

approved

editing

#2 by Russ Cox at Sat Mar 31 12:38:36 EDT 2012
AUTHOR

_Vladimir Joseph Stephan Orlovsky (4vladimir(AT)gmail.com), _, Apr 27 2010

Discussion
Sat Mar 31
12:38
OEIS Server: https://oeis.org/edit/global/876
#1 by N. J. A. Sloane at Tue Jun 01 03:00:00 EDT 2010
NAME

Prime numbers p such that p-LargestSquare is prime and p-LargestCube is also prime, (LargestSquare <= p, LargestCube <= p).

DATA

3, 11, 19, 67, 71, 83, 107, 227, 263, 269, 613, 619, 1031, 1061, 1163, 1193, 1223, 1307, 1787, 1801, 1811, 1831, 1979, 1997, 2129, 4099, 4127, 4133, 4139, 4157, 4373, 4409, 4463, 4637, 4643, 4703, 5843, 5849, 5879, 5903, 6089, 6101, 6113, 6143, 6163, 6211

OFFSET

1,1

COMMENTS

11-3^2=2;11-2^3=3, 19-4^2=3,19-2^3=11,..

MATHEMATICA

lst={}; Do[p2=n-Floor[Sqrt[n]]^2; p3=n-Floor[n^(1/3)]^3; If[PrimeQ[p2]&&PrimeQ[p3]&&PrimeQ[n], AppendTo[lst, n]], {n, 8!}]; lst

CROSSREFS
KEYWORD

nonn,new

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Apr 27 2010

STATUS

approved