login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A019462 Add 1, multiply by 1, add 2, multiply by 2, etc., start with 3. 5

%I #11 Feb 25 2018 22:58:53

%S 3,4,4,6,12,15,45,49,196,201,1005,1011,6066,6073,42511,42519,340152,

%T 340161,3061449,3061459,30614590,30614601,336760611,336760623,

%U 4041127476,4041127489,52534657357,52534657371,735485203194,735485203209,11032278048135,11032278048151

%N Add 1, multiply by 1, add 2, multiply by 2, etc., start with 3.

%H Nick Hobson, <a href="/A019462/a019462.py.txt">Python program for this sequence</a>

%o (PARI) A019462(n, a=3)={for(i=2, n+1, if(bittest(i, 0), a*=i\2, a+=i\2)); a} \\ _M. F. Hasler_, Feb 25 2018

%Y Cf. A019461 (same, but start with 0), A019463 (start with 1), A019460 (start with 2), A082448 (start with 4).

%Y Cf. A082458, A019464 .. A019466 (similar, but first multiply, then add).

%K nonn

%O 0,1

%A _N. J. A. Sloane_.

%E Edited by _M. F. Hasler_, Feb 25 2018

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 2 09:22 EDT 2024. Contains 375613 sequences. (Running on oeis4.)