cp's OEIS Frontend

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.

Previous Showing 41-50 of 53 results. Next

A255533 Indices of primes in the 9th-order Fibonacci number sequence, A251750.

Original entry on oeis.org

10, 33, 43, 253, 1253, 2389
Offset: 1

Views

Author

Robert Price, Feb 24 2015

Keywords

Comments

a(7) > 2*10^5.

Crossrefs

Programs

  • Mathematica
    a={0,0,0,1,0,0,0,0,0}; step=9; lst={}; For[n=step,n<=1000,n++, sum=Plus@@a; If[PrimeQ[sum], AppendTo[lst,n]]; a=RotateLeft[a]; a[[step]]=sum]; lst

A255534 Indices of primes in the 9th-order Fibonacci number sequence, A251751.

Original entry on oeis.org

10, 12, 232, 502
Offset: 1

Views

Author

Robert Price, Feb 24 2015

Keywords

Comments

a(5) > 2*10^5.

Crossrefs

Programs

  • Mathematica
    a={0,0,1,0,0,0,0,0,0}; step=9; lst={}; For[n=step,n<=1000,n++, sum=Plus@@a; If[PrimeQ[sum], AppendTo[lst,n]]; a=RotateLeft[a]; a[[step]]=sum]; lst
    Flatten[Position[LinearRecurrence[Table[1,{9}],{0,0,1,0,0,0,0,0,0},510], ?(PrimeQ[#]&)]]-1 (* _Harvey P. Dale, Feb 27 2016 *)

A255536 Indices of primes in the 9th-order Fibonacci number sequence, A251752.

Original entry on oeis.org

10, 11, 21, 29, 301, 57089
Offset: 1

Views

Author

Robert Price, Feb 24 2015

Keywords

Comments

a(7) > 2*10^5.

Crossrefs

Programs

  • Mathematica
    a={0,1,0,0,0,0,0,0,0}; step=9; lst={}; For[n=step,n<=1000,n++, sum=Plus@@a; If[PrimeQ[sum], AppendTo[lst,n]]; a=RotateLeft[a]; a[[step]]=sum]; lst

A230016 Indices of primes in the tribonacci-like sequence, A214825.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 10, 16, 17, 26, 32, 104, 109, 120, 133, 312, 546, 608, 2274, 2527, 2932, 4462, 4680, 6001, 7103, 17402, 17874, 20664, 26341, 27954, 32869, 36204, 41521, 49065, 64172, 66318, 196078
Offset: 1

Views

Author

Robert Price, Feb 22 2014

Keywords

Comments

a(39) > 2*10^5.

Crossrefs

Programs

  • Mathematica
    a={1,3,3}; Print[1];Print[2]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[n]]; a=RotateLeft[a]; a[[3]]=sum]

A230017 Prime terms in the tribonacci-like sequence, A214825.

Original entry on oeis.org

3, 3, 7, 13, 23, 43, 79, 491, 19009, 34963, 8422747, 326099713, 3699221592878859104602113553, 77867739062209443974741001359, 63460200981504216633346603450897, 174962190954783387911511685367053207
Offset: 1

Views

Author

Robert Price, Feb 22 2014

Keywords

Crossrefs

Programs

  • Mathematica
    a={1,3,3}; Print[3]; Print[3]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum]

A233190 Indices of primes in the tribonacci-like sequence, A214899.

Original entry on oeis.org

0, 2, 3, 9, 13, 27, 35, 39, 87, 95, 97, 99, 113, 131, 233, 971, 3851, 5637, 6553, 106099
Offset: 1

Views

Author

Robert Price, Dec 05 2013

Keywords

Comments

a(21) > 2*10^5.

Crossrefs

Programs

  • Mathematica
    a={2,1,2};Print[1],Print[2];For[n=3,n<=1000,n++,sum=Plus@@a;If[PrimeQ[sum],Print[n]];a=RotateLeft[a]; a[[3]]=sum]

A234703 Primes in the tribonacci-like sequence, A214727.

Original entry on oeis.org

2, 2, 5, 101, 13241, 151537, 66848890001808737, 8602289657912317933269334679427588251509673524841616601
Offset: 1

Views

Author

Robert Price, Dec 29 2013

Keywords

Comments

The next term (a(9)) has 97 digits. - Harvey P. Dale, Feb 22 2023

Crossrefs

Programs

  • Mathematica
    a={1,2,2}; Print[2]; Print[2]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum]
    Select[LinearRecurrence[{1,1,1},{1,2,2},500],PrimeQ] (* Harvey P. Dale, Feb 22 2023 *)

A235396 Indices of primes in the tribonacci-like sequence, A081172.

Original entry on oeis.org

3, 4, 5, 9, 12, 16, 24, 32, 101, 116, 245, 34553, 52517, 99245, 140197
Offset: 1

Views

Author

Robert Price, Jan 09 2014

Keywords

Comments

a(16) > 2*10^5.

Crossrefs

Programs

  • Mathematica
    a={1, 1, 0}; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[n]]; a=RotateLeft[a]; a[[3]]=sum]

A241661 Primes in A001630.

Original entry on oeis.org

2, 3, 23, 60217, 108412217573460833, 143003097309669584171480759
Offset: 1

Views

Author

Robert Price, Apr 26 2014

Keywords

Comments

a(7) is too large to display here. It has 206 digits and is the 722nd term in A001630.

Crossrefs

Programs

  • Mathematica
    a={0,0,1,2}; Print[2]; For[n=4, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[4]]=sum]

Extensions

a(1)=2 prepended and Mathematica program corrected by Robert Price, Sep 09 2014

A242316 Prime terms in the tribonacci-like sequence A214826.

Original entry on oeis.org

17, 103, 1764391, 8907752079422393063, 28959877095025359725108610631647478770525190687597954707985655095645523042346644747326776183477265033
Offset: 1

Views

Author

Robert Price, May 10 2014

Keywords

Comments

a(6) is too large to appear here, having 124 digits. It corresponds to A214826(467).

Crossrefs

Programs

  • Mathematica
    a={1,4,4}; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum]
    Select[LinearRecurrence[{1,1,1},{1,4,4},400],PrimeQ] (* Harvey P. Dale, Mar 17 2016 *)
Previous Showing 41-50 of 53 results. Next