login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A029750 List of numbers of the form 2^k times 1, 3, 5 or 7. 19
1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 640, 768, 896, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584, 4096, 5120, 6144, 7168, 8192, 10240 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

Index entries for linear recurrences with constant coefficients, signature (0,0,0,2).

FORMULA

a(n) = 2a(n-4) for n > 7. - Charles R Greathouse IV, Feb 18 2013

G.f.: -x*(x+1)^2*(x^2+1)^2 / (2*x^4-1). - Colin Barker, Jul 19 2013

Sum_{n>=1} 1/a(n) = 352/105. - Amiram Eldar, Feb 18 2021

MATHEMATICA

CoefficientList[Series[-(x + 1)^2 (x^2 + 1)^2/(2 x^4 - 1), {x, 0, 50}], x] (* Vincenzo Librandi, Oct 19 2013 *)

LinearRecurrence[{0, 0, 0, 2}, {1, 2, 3, 4, 5, 6, 7}, 50] (* Harvey P. Dale, Aug 24 2019 *)

PROG

(PARI) a(n)=if(n<9, n, [4, 5, 6, 7][n%4+1]<<(n\4-1)) \\ Charles R Greathouse IV, Feb 18 2013

CROSSREFS

Sequence in context: A060471 A003045 A279079 * A266480 A246080 A278619

Adjacent sequences:  A029747 A029748 A029749 * A029751 A029752 A029753

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

EXTENSIONS

More terms from Colin Barker, Jul 19 2013

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 16 22:03 EDT 2021. Contains 343955 sequences. (Running on oeis4.)