login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108248 a(n) = ceiling(n/24) + ceiling((n+1)/24). 0
1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 10, 10, 10, 10, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..101.

FORMULA

Euler transform of length 24 sequence [ 2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]. - Michael Somos, Aug 07 2005

Expansion of 1/((x^2+1)*(x^4+1)*(x^8-x^4+1)*(x^4-x^2+1)*(x^2-x+1)*(1+x^2+x)*(x-1)^2).

G.f.: (1 - x^2) / ((1 - x)^2 * (1 - x^24)).

a(n) = -a(-24-n) for all n in Z. - Michael Somos, May 05 2015

EXAMPLE

G.f. = 1 + 2*x + 2*x^2 + 2*x^3 + 2*x^4 + 2*x^5 + 2*x^6 + 2*x^7 + 2*x^8 + ...

MAPLE

seriestolist(series(1/((x^2+1)*(x^4+1)*(x^8-x^4+1)*(x^4-x^2+1)*(x^2-x+1)*(1+x^2+x)*(x-1)^2), x=0, 150));

MATHEMATICA

a[ n_] := Ceiling[n / 24] + Ceiling[(n + 1) / 24]; (* Michael Somos, May 05 2015 *)

Total/@Partition[Ceiling[Range[0, 110]/24], 2, 1] (* Harvey P. Dale, Apr 05 2018 *)

PROG

(PARI) {a(n) = ceil(n / 24) + ceil((n+1) / 24)}; /* Michael Somos, Aug 07 2005 */

CROSSREFS

Sequence in context: A296076 A086858 A111892 * A087104 A069926 A077429

Adjacent sequences:  A108245 A108246 A108247 * A108249 A108250 A108251

KEYWORD

nonn

AUTHOR

Creighton Dement, Jul 24 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 07:08 EDT 2019. Contains 323508 sequences. (Running on oeis4.)