login

Revision History for A036564

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

Showing entries 1-10 | older changes
a(n) = 2^n - 45 with n>5, a(5)=1.
(history; published version)
#72 by Alois P. Heinz at Sun Dec 03 18:21:32 EST 2023
STATUS

proposed

approved

#71 by Paolo Xausa at Sun Dec 03 14:57:33 EST 2023
STATUS

editing

proposed

#70 by Paolo Xausa at Sun Dec 03 14:56:48 EST 2023
MATHEMATICA

A036564[n_]:=If[n>5, 2^n-45, 1]; Array[A036564, 50, 5] (* _Paolo Xausa_, Dec 03 2023 or *)

LinearRecurrence[{3, -2}, {1, 19, 83}, 50] (* Paolo Xausa, Dec 03 2023 *)

STATUS

proposed

editing

#69 by Paolo Xausa at Sun Dec 03 14:15:06 EST 2023
STATUS

editing

proposed

#68 by Paolo Xausa at Sun Dec 03 14:14:39 EST 2023
MATHEMATICA

A036564[n_]:=If[n>5, 2^n-45, 1]; Array[A036564, 50, 5] (* Paolo Xausa, Dec 03 2023 *)

STATUS

approved

editing

#67 by Sean A. Irvine at Tue Mar 29 04:31:40 EDT 2022
STATUS

proposed

approved

#66 by Sean A. Irvine at Tue Mar 29 04:31:00 EDT 2022
STATUS

editing

proposed

#65 by Sean A. Irvine at Tue Mar 29 04:28:51 EDT 2022
PROG

(Python) a = lambda x: 2**x-45

A036564 = [1] + [a(n) for n in range(6, 40)] # Gennady Eremin, Mar 28 2022

STATUS

proposed

editing

Discussion
Tue Mar 29
04:31
Sean A. Irvine: @Gennady, Please refrain from adding such trivial programs to sequences already having perfectly good programs.  Your submissions are costing a lot of editorial time and are of low value.  If you persist in such submissions, it is likely your access to the OEIS will be restricted.
#64 by Gennady Eremin at Tue Mar 29 03:50:58 EDT 2022
STATUS

editing

proposed

Discussion
Tue Mar 29
03:51
Gennady Eremin: I don't take up editors' time. They ask me, and I answer.
03:51
Gennady Eremin: Yes, my programs are trivial. But all the programs are checked, and they work correctly.
03:51
Gennady Eremin: About indexes. Of course, in the Def function for each term, you can iterate over all ranges using conditional operators. But it is easier to process each range separately if the ranges do not overlap.
03:53
Gennady Eremin: The fact is that the number of ranges is always significantly less than the number of terms.
#63 by Michel Marcus at Tue Mar 29 03:03:18 EDT 2022
STATUS

proposed

editing