login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105162 The sum of a triangular array made from a negative 6 fold permutation product with shifts up and down of {2,6}. 0
10, 1, 8, 27, 40, 55, 228, 175, 336, 455, 450, 741, 770, 861, 1274, 1377, 2080, 1595, 2622, 2145, 2840, 3315, 3564, 4275, 5148, 4655, 5454, 5777, 6440, 6327, 9030, 7625, 10564, 9135, 13330, 9425, 14628, 11431, 16224, 13167, 18870, 13825, 20720, 15471 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Triangle begins : {10} {-2, 3} {-4, 6, -10} {18, -27, 45, -63} {-10, 15, -25, 35, -55} {-22, 33, -55, 77, -121, 143} The idea was to find permutation function that gave small sums.
LINKS
FORMULA
a(n) = if 10 Mod[Prime[n], 10] is 1 then -Prime[n]-6 if 3 then -Prime[n]-2 else if 7 then Prime[n]-2, if 9 then Prime[n]-6 a[1]=-5 a[3]=2 T(n, k)=a(k)*Prime[n]*(-1)^k aout[n]=Sum[T(n, k], {k, 1, n]
MATHEMATICA
a[n_] := -(Prime[n] + 6) /; 10 - Mod[Prime[n], 10] == 1; a[n_] := -(Prime[n] + 2) /; 10 - Mod[Prime[n], 10] == 3; a[n_] := Prime[n] - 2 /; (10 - Mod[Prime[n], 10] == 7); a[n_] := Prime[n] - 6 /; (10 - Mod[Prime[n], 10] == 9); a[1] = -Prime[3]; a[3] = Prime[1]; digits = 200 Table[Abs[Apply[Plus, Table[Prime[n]*a[m]*(-1)^n, {n, 1.m}]]], {m, 1, digits}]
CROSSREFS
Sequence in context: A092030 A014538 A160928 * A010184 A107830 A144261
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, Apr 10 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 3 06:44 EDT 2024. Contains 372206 sequences. (Running on oeis4.)