login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139244 a(0) = 4; a(n) = a(n-1)^2 - 1. 3
4, 15, 224, 50175, 2517530624, 6337960442777829375, 40169742574216538983356186036612890624, 1613608218478824775913354216413699241125577233045500390244103887844987109375 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
This is the next analog of A003096 with different initial value a(0), as starting with a(0) = 2 is A003096 and a(0) = 3 is A003096 with first term omitted. It alternates between even and odd values, specifically between 4 mod 10 and 5 mod 10 and is always composite (by difference of squares factorization).
a(n+2) is divisible by a(n)^2. A007814(a(2 n)) = A153893(n). - Robert Israel, Jul 20 2015
LINKS
A. V. Aho and N. J. A. Sloane, Some doubly exponential sequences, The Fibonacci Quarterly, 11 (1973), 429-437.
FORMULA
a(n-1) = ceiling(c^(2^n)) where c is a constant between 1 and 2.
More specifically, c=1.9668917617901763653335057202... (sequence A260315). - Chayim Lowen, Jul 17 2015
MAPLE
A[0]:= 4:
for n from 1 to 10 do A[n]:= A[n-1]^2-1 od:
seq(A[i], i=0..10); # Robert Israel, Jul 20 2015
MATHEMATICA
a=4; lst={a}; Do[b=a^2-1; AppendTo[lst, b]; a=b, {n, 10}]; lst (* Vladimir Joseph Stephan Orlovsky, Dec 28 2010 *)
PROG
(PARI) a(n)=if(n, a(n-1)^2-1, 4) \\ Charles R Greathouse IV, Jul 23 2015
CROSSREFS
Sequence in context: A195569 A118908 A153060 * A369727 A090115 A051999
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Jun 06 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 10:53 EDT 2024. Contains 371936 sequences. (Running on oeis4.)