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!)
A292027 a(n) = a(n-7) + a(n-11), starting a(0)=a(1)=...= a(10) = 1. 0
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 7, 7, 7, 8, 9, 9, 9, 12, 12, 12, 13, 16, 16, 16, 20, 21, 21, 22, 28, 28, 28, 33, 37, 37, 38, 48, 49, 49, 55, 65, 65, 66, 81, 86, 86, 93, 113, 114, 115, 136, 151, 151, 159, 194, 200, 201, 229, 264, 265, 274 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,12
REFERENCES
Kenneth H. Rosen, Discrete Mathematics and its Applications, McGraw-Hill, 2012, 501-503.
LINKS
FORMULA
G.f.: (x^6 + x^5 + x^4 + x^3 + x^2 + x + 1)/(1 - x^7 - x^11). - R. J. Mathar and N. J. A. Sloane, Nov 10 2017
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, 80] (* Harvey P. Dale, Oct 09 2018 *)
PROG
(Java)
import java.util.Arrays;
public class IntegerSequences
{
public static void main(String[] args)
{
int j = 7;
int k = 11;
// Set N to the number of terms you would like to generate.
int N = 200;
long[] G = new long[N];
for(int i=0; i<k; i++)
{
G[i] = 1;
}
for(int i=k; i<N; i++)
{
G[i] = G[i-j]+G[i-k];
}
System.out.println(Arrays.toString(G));
}
}
CROSSREFS
Sequence in context: A280953 A111894 A279012 * A025845 A347755 A362914
KEYWORD
nonn,easy
AUTHOR
Jason Bruce, Sep 07 2017
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 19 06:44 EDT 2024. Contains 371782 sequences. (Running on oeis4.)