The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A283525 Remainder when sum of first n terms of A004001 is divided by 3*n. 1
 1, 2, 4, 6, 9, 13, 17, 21, 26, 2, 6, 10, 15, 20, 25, 30, 36, 43, 51, 0, 6, 13, 21, 29, 38, 47, 56, 66, 76, 86, 3, 10, 18, 27, 37, 48, 60, 72, 85, 99, 114, 3, 16, 30, 44, 59, 74, 89, 105, 122, 139, 1, 16, 31, 47, 63, 79, 95, 112, 129, 146, 163, 180, 5, 20, 36, 53, 71, 90, 110, 130, 151, 173, 196, 220, 16, 38, 61, 85, 109 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS Sequence represents b(n, 3) where b(n, i) = (Sum_{k=1..n} A004001(k)) mod (n*i). See also A282891, A283501 and corresponding illustrations in Links section. LINKS Altug Alkan, Table of n, a(n) for n = 1..10000 Altug Alkan, Illustration of Residue Classes Modulo 12 Altug Alkan, Alternative Scatterplot of A283525 FORMULA a(n) = (Sum_{k=1..n} A004001(k)) mod (3*n). MAPLE A004001:= proc(n) option remember; procname(procname(n-1)) +procname(n-procname(n-1)) end proc: A004001(1):= 1: A004001(2):= 1: L:= ListTools[PartialSums](map(A004001, [\$1..1000])): seq(L[i] mod (3*i), i=1..1000); # after Robert Israel at A282891 MATHEMATICA b[1] = 1; b[2] = 1; b[n_] := b[n] = b[b[n - 1]] + b[n - b[n - 1]]; a[n_] := Mod[Sum[b[k], {k, n}], 3 n]; Array[a, 80] (* Robert G. Wilson v, Mar 13 2017 *) PROG (PARI) a=vector(1000); a[1]=a[2]=1; for(n=3, #a, a[n]=a[a[n-1]]+a[n-a[n-1]]); vector(#a, n, sum(k=1, n, a[k]) % (3*n)) CROSSREFS Cf. A004001, A282891, A283501. Sequence in context: A005779 A261417 A098387 * A038709 A186351 A049981 Adjacent sequences:  A283522 A283523 A283524 * A283526 A283527 A283528 KEYWORD nonn AUTHOR Altug Alkan, Mar 10 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 7 11:46 EDT 2020. Contains 336276 sequences. (Running on oeis4.)