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”).

A271393
a(1) = 3, a(n+1) = (3^a(n)-1)/2.
0
3, 13, 797161
OFFSET
1,1
COMMENTS
The next term is too large to include.
The terms a(1), a(2), and a(3) are primes.
The next term a(4) is a composite number, a pseudoprime to base 3.
If a(n) is a pseudoprime to base 3, then a(n+1) is a pseudoprime to base 3.
Note that a(n) divides a(n+1)-1 for every n.
a(4) has 380343 digits. - Altug Alkan, Apr 09 2016
REFERENCES
R. Steuerwald (1948), see A005935.
MATHEMATICA
NestList[(3^# - 1)/2 &, 3, 3] (* Michael De Vlieger, Apr 06 2016 *)
CROSSREFS
Cf. A005935 (see Steuerwald's theorem), A007013, A028491.
Sequence in context: A007523 A092830 A317481 * A087345 A048756 A174211
KEYWORD
nonn
AUTHOR
Thomas Ordowski, Apr 06 2016
STATUS
approved