The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A118330 a(n-1)*a(n-4) + a(n-2)*a(n-5) + a(n-3)*a(n-6), with a(k<6) = 1. 0
1, 1, 1, 1, 1, 1, 3, 5, 9, 17, 65, 385, 3841, 69087, 4559417, 1759931497, 6761656746177, 467149341275385921, 2129929115299135769778433, 3748529338522222733404780820902657, 25346268690064943238497951432386776919871664547 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
COMMENTS
This is the 3-term analog of the 2-term recurrence A111288 a(1) = a(2) = a(3) = a(4) = 1. For n>= 5, a(n) = a(n-1)*a(n-3) + a(n-2)*a(n-4). Primes in this sequence include a(n) for n = 6, 7, 9, ... with a(21) and a(22) composite and the sequence growing beyond my ability to efficiently test primality.
LINKS
FORMULA
a(0) = a(1) = a(2) = a(3) = a(4) = a(5) = 1; for n>5: a(n) = a(n-1)*a(n-4) + a(n-2)*a(n-5) + a(n-3)*a(n-6).
MATHEMATICA
RecurrenceTable[{a[0]==a[1]==a[2]==a[3]==a[4]==a[5]==1, a[n]== a[n-1] a[n-4]+ a[n-2]a[n-5]+a[n-3]a[n-6]}, a, {n, 30}] (* Harvey P. Dale, Oct 30 2013 *)
CROSSREFS
Sequence in context: A096390 A092264 A135729 * A268212 A062221 A074861
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, May 14 2006
EXTENSIONS
One additional term (a(20)) from Harvey P. Dale, Oct 30 2013
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 June 7 14:50 EDT 2024. Contains 373202 sequences. (Running on oeis4.)