OFFSET
1,1
COMMENTS
From Rémy Sigrist, Aug 20 2017: (Start)
The following table gives the first index (n0) of the term that starts the first run of j consecutive equal terms for j=1..6:
j n0 a(n0)
- ---- ------
1 1 9
2 96 1511
3 131 2205
4 334 6733
5 5959 176843
6 3079 84731
(End)
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
K. Kashihara, Comments and Topics on Smarandache Notions and Problems, Erhus University Press, 1996, 50 pages. See page 20.
K. Kashihara, Comments and Topics on Smarandache Notions and Problems, Erhus University Press, 1996, 50 pages. [Cached copy] See page 20.
F. Smarandache, Only Problems, Not Solutions!
Rémy Sigrist, PARI program for A007962
FORMULA
a(n) << n log n. - Charles R Greathouse IV, Sep 19 2012
MATHEMATICA
nmax = 100; p = pq = pqr = {}; u = 9;
Reap[For[n = 1, n <= nmax, n++, o = Prime[n+1]; p = Union[p, {o}]; pq = Union[pq, p+o]; pqr = Union[pqr, pq+o]; While[MemberQ[pqr, u], u += 2]; Sow[u-2]]][[2, 1]] (* Jean-François Alcover, Dec 19 2017, after Rémy Sigrist *)
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
R. Muller
STATUS
approved