|
|
|
|
#21 by Charles R Greathouse IV at Thu Sep 08 08:45:09 EDT 2022
|
| PROG
|
(MAGMAMagma) [3+4*(n-2-Floor((n-3)/4)) : n in [1..100]]; // Wesley Ivan Hurt, Jul 15 2015
|
|
|
Discussion
|
Thu Sep 08
| 08:45
| OEIS Server: https://oeis.org/edit/global/2944
|
|
|
|
#20 by Charles R Greathouse IV at Sun Aug 16 12:03:56 EDT 2015
|
| LINKS
|
<a href="/index/Rec#order_05">Index to sequencesentries withfor linear recurrences with constant coefficients</a>, signature (1,0,0,1,-1).
|
|
|
Discussion
|
Sun Aug 16
| 12:03
| OEIS Server: https://oeis.org/edit/global/2451
|
|
|
|
#19 by Michel Marcus at Sun Jul 26 02:04:41 EDT 2015
|
|
|
|
#18 by Joerg Arndt at Sun Jul 26 02:02:31 EDT 2015
|
|
|
|
#17 by Michel Marcus at Mon Jul 20 06:43:16 EDT 2015
|
|
|
|
#16 by Michel Marcus at Mon Jul 20 06:43:11 EDT 2015
|
| FORMULA
|
a(n) = 3+ + 4*(n-2-floor((n-3)/4)).
|
| STATUS
|
proposed
editing
|
|
|
|
#15 by Vincenzo Librandi at Thu Jul 16 03:55:26 EDT 2015
|
|
|
|
#14 by Vincenzo Librandi at Thu Jul 16 03:55:04 EDT 2015
|
| MATHEMATICA
|
LinearRecurrence[{1, 0, 0, 1, -1}, {3, 7, 7, 11, 15}, 70] (* Vincenzo Librandi, Jul 16 2015 *)
|
| STATUS
|
proposed
editing
|
|
|
|
#13 by Anders Hellström at Wed Jul 15 16:58:33 EDT 2015
|
|
|
|
#12 by Anders Hellström at Wed Jul 15 16:58:23 EDT 2015
|
| PROG
|
(PARI) main(size)={my(v=vector(size), i, j); v[1]=3; for(j=2, size, x=0; for(i=1, j-1, if(v[i]==j, x=1; break)); if(x==1, v[j]=v[j-1], v[j]=v[j-1]+4)); return(v); } /* Anders Hellström, Jul 15 2015 */
|
| STATUS
|
proposed
editing
|
|
|
|