A271393 a(1) = 3, a(n+1) = (3^a(n)-1)/2.
3, 13, 797161
Offset: 1
Keywords
References
- R. Steuerwald (1948), see A005935.
Programs
-
Mathematica
NestList[(3^# - 1)/2 &, 3, 3] (* Michael De Vlieger, Apr 06 2016 *)
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
NestList[(3^# - 1)/2 &, 3, 3] (* Michael De Vlieger, Apr 06 2016 *)
Comments