OFFSET
1,1
COMMENTS
It is known that a(n) >= 0 for n >= 5.
REFERENCES
S. W. Golomb, Elementary Problem E3137, Amer. Math. Monthly, Proposed 93 (1986), p. 215; Solution and Editorial Comments, 94 (1987), 883-884.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..300
MATHEMATICA
FoldList[Times, Most[#]] - Rest[#]^3 & [Prime[Range[25]]] (* Paolo Xausa, Nov 06 2024 *)
PROG
(Python)
from sympy import prime, primorial
def A360511(n): return primorial(n)-prime(n+1)**3 # Chai Wah Wu, Feb 24 2023
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Feb 24 2023
STATUS
approved