(Translated by https://www.hiragana.jp/)
The On-Line Encyclopedia of Integer Sequences (OEIS)
login

Revision History for A061347

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Period 3: repeat [1, 1, -2].
(history; published version)
#150 by Alois P. Heinz at Thu Aug 29 17:50:57 EDT 2024
FORMULA

a(n) = 3*(n^2 mod 3)-2. = Aaron J Grech, Aug 29 2024

KEYWORD

sign,easy,mult,changed

STATUS

editing

approved

#149 by Alois P. Heinz at Thu Aug 29 14:28:48 EDT 2024
STATUS

proposed

editing

#148 by Aaron J Grech at Thu Aug 29 14:27:26 EDT 2024
STATUS

editing

proposed

#147 by Aaron J Grech at Thu Aug 29 14:27:22 EDT 2024
FORMULA

a(n) = a(n)=3*((n+1)^2 mod 3)-2. - _= _Aaron J Grech_, Aug 29 2024

#146 by Alois P. Heinz at Thu Aug 29 14:19:04 EDT 2024
STATUS

proposed

editing

Discussion
Thu Aug 29
14:19
Alois P. Heinz: a(n) = a(n) ?
14:21
Alois P. Heinz: 3*((n+1)^2 mod 3)-2 is not correct ... see: offset is 1 ...
14:26
Alois P. Heinz: this is a trivial sequence ... it does not need complicated formulas ... especially when they are wrong ... there are enough simple formulas ...
#145 by Aaron J Grech at Thu Aug 29 03:27:08 EDT 2024
STATUS

editing

proposed

#144 by Aaron J Grech at Thu Aug 29 03:27:05 EDT 2024
FORMULA

a(n) = 3*n^2+6*a(n+1-9)=3*floor((n+1)^2/ mod 3)-2. - Aaron J Grech, Aug 29 2024

STATUS

proposed

editing

#143 by Aaron J Grech at Thu Aug 29 02:49:06 EDT 2024
STATUS

editing

proposed

Discussion
Thu Aug 29
03:04
Joerg Arndt: Encoding [1, 1, -2] as 3*n^2+6*n+1-9*floor((n+1)^2/3) does not seem efficient or instructive to me.
03:16
Aaron J Grech: What about this?    a(n)=3*((n+1)^2 mod 3)-2
#142 by Aaron J Grech at Thu Aug 29 02:49:02 EDT 2024
FORMULA

a(n) = 3*n^2+6*n+1-9*floor((n+1)^2/3). - Aaron J Grech, Aug 29 2024

STATUS

approved

editing

#141 by Alois P. Heinz at Thu Dec 14 05:23:05 EST 2023
STATUS

proposed

approved