OFFSET
1,1
COMMENTS
The terms are easily seen to be distinct. It is conjectured that every element is prime. Do all primes occur in the sequence?
First 1000 terms are primes. - Mauro Fiorentini, Aug 01 2020
From Carl R. White, Apr 15 2026: (Start)
Begin with f(1)=4. For each n, find the smallest prime a(n) such that there exists a prime p = f(n)-a(n); i.e., a(n) and p are a Goldbach sum for f(n). Set f(n+1)=f(n)*a(n) and repeat.
There appears to be no good reason that these p should always equal prevprime(f(n)-1), nor that these alternative a(n) should never repeat, nor it is proven that the main sequence contains only primes. Nonetheless, both methods correspond exactly for well over 100 terms.
Are these sequences the same? (End)
LINKS
Mauro Fiorentini, Table of n, a(n) for n = 1..1000
MATHEMATICA
<<NumberTheory`PrimeQ` (* Load ProvablePrimeQ function, needed below. *)
f[1]=4; f[n_] := f[n]=f[n-1]a[n-1]; a[n_] := a[n]=Module[{i}, For[i=2, True, i++, If[ProvablePrimeQ[f[n]-i], Return[i]]]]
PROG
(MuPAD) f := 4:for n from 1 to 50 do a := f-numlib::prevprime(f-2):f := f*a:print(a) end_for
CROSSREFS
KEYWORD
nonn
AUTHOR
Frank Buss (fb(AT)frank-buss.de), Feb 19 2002
EXTENSIONS
Edited by Dean Hickerson, Jun 10 2002
STATUS
approved
