[go: up one dir, main page]

login
Revision History for A270841 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(1) = 5; a(n) is the sum of |a(m) - m| for m < n.
(history; published version)
#28 by OEIS Server at Mon Apr 04 11:52:22 EDT 2016
LINKS

Colin Barker, <a href="/A270841/b270841_2.txt">Table of n, a(n) for n = 1..1000</a>

#27 by N. J. A. Sloane at Mon Apr 04 11:52:22 EDT 2016
STATUS

proposed

approved

Discussion
Mon Apr 04
11:52
OEIS Server: Installed new b-file as b270841.txt.  Old b-file is now b270841_2.txt.
#26 by Colin Barker at Mon Apr 04 11:26:11 EDT 2016
STATUS

editing

proposed

#25 by Colin Barker at Mon Apr 04 11:24:54 EDT 2016
LINKS

Colin Barker, <a href="/A270841/b270841_2.txt">Table of n, a(n) for n = 1..1000</a>

#24 by Colin Barker at Mon Apr 04 11:23:57 EDT 2016
LINKS

Colin Barker, <a href="/A270841/b270841_1.txt">TITLE FOR LINK</a>

#23 by Colin Barker at Mon Apr 04 11:23:05 EDT 2016
LINKS

Colin Barker, <a href="/A270841/b270841_1.txt">Table of n, a(n) for n = 1..1000TITLE FOR LINK</a>

#22 by Colin Barker at Mon Apr 04 11:22:17 EDT 2016
LINKS

Colin Barker, <a href="/A270841/b270841.txt">Table of n, a(n) for n = 1..1000</a>

STATUS

approved

editing

#21 by N. J. A. Sloane at Mon Apr 04 00:29:54 EDT 2016
STATUS

proposed

approved

#20 by Charles R Greathouse IV at Mon Mar 28 12:04:14 EDT 2016
STATUS

editing

proposed

#19 by Charles R Greathouse IV at Mon Mar 28 12:03:31 EDT 2016
COMMENTS

If 0 <= a(1) < 4, a(n) is eventually equal to (n - 1).

If a(1) = 4, a(n) is eventually equal to (n + 1).

PROG

(PARI) a(n)=if(n>1, ([0, 1, 0; 0, 0, 1; 2, -5, 4]^(n*[5/4; 5/-2; 4])[1, +n+1], , 5) \\ Charles R Greathouse IV, Mar 28 2016

Discussion
Mon Mar 28
12:04
Charles R Greathouse IV: Alternative: a(n)=numerator(2^(n-2)+n+1)