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!)
A195182 a(n) = 6*n - floor(2*n*e). 1

%I #9 Sep 08 2022 08:45:59

%S 0,1,2,2,3,3,4,4,5,6,6,7,7,8,8,9,10,10,11,11,12,12,13,13,14,15,15,16,

%T 16,17,17,18,19,19,20,20,21,21,22,22,23,24,24,25,25,26,26,27,28,28,29,

%U 29,30,30,31,31,32,33,33,34,34,35,35,36,37,37,38,38,39,39,40,41

%N a(n) = 6*n - floor(2*n*e).

%H G. C. Greubel, <a href="/A195182/b195182.txt">Table of n, a(n) for n = 0..5000</a>

%t Table[6*n - Floor[2*n*E], {n, 0, 50}] (* _G. C. Greubel_, Nov 01 2017 *)

%o (PARI) for(n=0,50, print1(6*n - floor(2*n*exp(1)), ", ")) \\ _G. C. Greubel_, Nov 01 2017

%o (Magma) [6*n - Floor(2*n*Exp(1)): n in [0..50]]; // _G. C. Greubel_, Nov 01 2017

%K nonn

%O 0,3

%A _Clark Kimberling_, Sep 10 2011

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 April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)