A122278 Records in A122277.
5, 7, 11, 12, 13, 19, 20, 21, 25, 27, 28, 29
Offset: 1
Keywords
Extensions
More terms from Martin Fuller, Nov 22 2007
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.
a096535 n = a096535_list !! n a096535_list = 1 : 1 : f 2 1 1 where f n x x' = y : f (n+1) y x where y = mod (x + x') n -- Reinhard Zumkeller, Oct 19 2011
l = {1, 1}; For[i = 2, i <= 100, i++, len = Length[l]; l = Append[l, Mod[l[[len]] + l[[len - 1]], i]]]; l f[s_] := f[s] = Append[s, Mod[s[[ -2]] + s[[ -1]], Length[s]]]; Nest[f, {1, 1}, 80] (* Robert G. Wilson v, Aug 29 2006 *) RecurrenceTable[{a[0]==a[1]==1,a[n]==Mod[a[n-1]+a[n-2],n]},a,{n,90}] (* Harvey P. Dale, Apr 12 2013 *)
f[s_] := f[s] = Append[s, Mod[s[[ -2]] + s[[ -1]], Length[s]]]; t = Nest[f, {1, 1}, 106]; s = {}; Do[AppendTo[s, If[t[[n]] + t[[n + 1]] < n + 1, 0, 1]], {n, 105}]; s (* Robert G. Wilson v Sep 02 2006 *)
{m=107;a=1;b=1;for(n=2,m,d=divrem(a+b,n);print1(d[1],",");a=b;b=d[2])}
RecurrenceTable[{a[0]==a[1]==a[2]==1,a[n]==Mod[a[n-1]+a[n-2]+a[n-3],n]},a[n],{n,80}] (* Harvey P. Dale, May 14 2011 *) Fold[Append[#1, Mod[#1[[-1]] + #1[[-2]] + #1[[-3]], #2]] &, {1, 1, 1}, Range[68] + 2] (* Ivan Neretin, Jun 28 2017 *)
lista(nn) = {va = vector(nn, k, k<=3); for (n=4, nn, va[n] = (va[n-1] + va[n-2] + va[n-3]) % (n-1);); va;} \\ Michel Marcus, Jul 02 2017
Comments