VOOZH
about
URL: https://oeis.org/A380405
⇱ A380405 - OEIS
login
A380405
Squares k such that there are no primes between k and the nearest cube that is not k.
1
9, 25, 121, 32761, 79524, 97344
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
1,1
COMMENTS
There are no other terms < 2*10^30.
LINKS
Table of n, a(n) for n=1..6.
EXAMPLE
121 is a term because it is a square and there are no primes between 123 and 125, its nearest cube.
MATHEMATICA
b[n_] := If[IntegerQ@Sqrt@n, 0, p = NextPrime[n^3];
q = Ceiling[Sqrt[NextPrime[p, -1]]]; If[q^2 >= p, 0, q]];
Select[Array[b@# &, 1000], # > 0 &]^2
CROSSREFS
Cf.
A053706
,
A380521
,
A380522
,
A380523
,
A078933
.
Sequence in context:
A139818
A373970
A227078
*
A146365
A146373
A084605
Adjacent sequences:
A380402
A380403
A380404
*
A380406
A380407
A380408
KEYWORD
nonn
,
hard
,
more
AUTHOR
Zhining Yang
, Jan 26 2025
STATUS
approved