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.

Showing 1-10 of 41 results. Next

A235873 Primes in the tribonacci-like sequence, A141523.

Original entry on oeis.org

3, 5, 7, 13, 83, 281, 3217, 10883, 1425427, 55187617, 24453221203, 124001884480009, 29872617402415741, 185875267730565697, 341877918058715653, 44580781450601596678810171573, 36012536557658790037420884825332617431175065740791
Offset: 1

Views

Author

Robert Price, Jan 16 2014

Keywords

Crossrefs

Programs

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

A249413 Primes in the hexanacci numbers sequence A000383.

Original entry on oeis.org

11, 41, 72426721, 143664401, 565262081, 4160105226881, 253399862985121, 997027328131841, 212479323351825962211841, 188939838859312612896128881921, 22828424707602602744356458636161, 661045104283639247572028952777478721
Offset: 1

Views

Author

Robert Price, Dec 03 2014

Keywords

Comments

a(13) is too large to display here. It has 62 digits and is the 210th term in A000383.

Crossrefs

Programs

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

A247027 Indices of primes in the tetranacci sequence A001631.

Original entry on oeis.org

5, 7, 12, 19, 47, 97, 124, 244, 564, 1037, 12007, 13662, 180039
Offset: 1

Views

Author

Robert Price, Sep 09 2014

Keywords

Comments

a(14) > 2*10^5.

Crossrefs

Programs

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

A241660 Indices of primes in A001630.

Original entry on oeis.org

3, 4, 7, 19, 62, 94, 722, 5197, 5262, 6182, 14007, 21579, 35354, 75592
Offset: 1

Views

Author

Robert Price, Apr 26 2014

Keywords

Comments

a(15) > 2*10^5.

Crossrefs

Programs

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

Extensions

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

A243622 Indices of primes in A214829.

Original entry on oeis.org

1, 2, 4, 10, 11, 12, 13, 58, 63, 89, 132, 157, 426, 457, 506, 613, 1839, 1936, 2042, 2355, 3178, 3782, 8556, 8688, 22152, 23232, 44074, 71770, 222666
Offset: 1

Views

Author

Robert Price, Jun 07 2014

Keywords

Comments

a(30) > 222666.

Crossrefs

Programs

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

Extensions

a(27) corrected by Robert Price, May 22 2019
a(29) from Robert Price, May 23 2019

A242324 Indices of primes in the tribonacci-like sequence A214827.

Original entry on oeis.org

1, 2, 3, 5, 7, 8, 11, 13, 14, 15, 18, 39, 42, 46, 128, 319, 501, 645, 749, 785, 924, 1786, 1810, 3032, 3053, 3913, 4444, 5611, 6290, 20526, 20850, 23431, 44281, 45981, 103816, 133938
Offset: 1

Views

Author

Robert Price, May 10 2014

Keywords

Comments

a(37) > 2*10^5.

Crossrefs

Programs

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

A247561 Indices of primes in the tetranacci sequence A000288.

Original entry on oeis.org

5, 6, 10, 11, 12, 13, 18, 30, 31, 36, 38, 97, 108, 150, 196, 221, 277, 532, 596, 2468, 2691, 3773, 4303, 5755, 8925, 10083, 11708, 14080, 19990, 24102, 34767, 35973, 39238, 49760, 97706
Offset: 1

Views

Author

Robert Price, Sep 27 2014

Keywords

Comments

a(36) > 2*10^5.

Crossrefs

Programs

  • Mathematica
    a={1,1,1,1}; For[n=4, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[n]]; a=RotateLeft[a]; a[[4]]=sum]
    Flatten[Position[LinearRecurrence[{1,1,1,1},{1,1,1,1},10^5], ?PrimeQ]]- 1 (* _Harvey P. Dale, Dec 20 2016 *)

A242576 Prime terms in A214828.

Original entry on oeis.org

13, 151, 277, 36313, 225949, 7129366889, 933784181621, 19397107178326126131136629644898891137047, 401151570474397232184569825031979125080583558010764826781295643008140597581801
Offset: 1

Views

Author

Robert Price, May 17 2014

Keywords

Comments

a(10) has 119 digits and thus is too large to display here. It corresponds to A214828(448).

Crossrefs

Programs

  • Mathematica
    a={1,6,6}; 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,6,6},350],PrimeQ] (* Harvey P. Dale, Jul 21 2018 *)
  • PARI
    my(x='x+O('x^500)); select(isprime, Vec((1+5*x-x^2)/(1-x-x^2-x^3))) \\ Michel Marcus, Jun 16 2025

A243623 Prime terms in A214829.

Original entry on oeis.org

7, 29, 1087, 1999, 3677, 6763, 5487349608898607, 115507410616162687, 878001744429057971864287, 210582098197038415344728317608265501, 870277059555114378903885645581650740066907
Offset: 1

Views

Author

Robert Price, Jun 07 2014

Keywords

Comments

a(12) has 114 digits and thus is too large to display here. It corresponds to A214829(426).

Crossrefs

Programs

  • Maple
    f:= gfun:-rectoproc({a(n) = a(n-1) + a(n-2) + a(n-3), a(0) = 1, a(1) = 7, a(2) = 7},a(n),remember):
    select(isprime, map(f, [$2..1000])); # Robert Israel, Sep 02 2024
  • Mathematica
    a={1,7,7}; Print["7"]; Print["7"]; For[n=3, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[sum]]; a=RotateLeft[a]; a[[3]]=sum]

Extensions

7 inserted as a(1) by Robert Israel, Sep 02 2024

A247192 Indices of primes in the hexanacci numbers sequence A000383.

Original entry on oeis.org

7, 9, 30, 31, 33, 46, 52, 54, 82, 102, 109, 124, 210, 301, 351, 365, 369, 1045, 2044, 2125, 2143, 2815, 4377, 4754, 4893, 7310, 11558, 17602, 17929, 28389, 32100, 44298, 106725, 151678, 197953
Offset: 1

Views

Author

Robert Price, Dec 03 2014

Keywords

Comments

a(36) > 2*10^5.

Crossrefs

Programs

  • Mathematica
    a={1,1,1,1,1}; For[n=5, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[n]]; a=RotateLeft[a]; a[[5]]=sum]
Showing 1-10 of 41 results. Next