[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Search: a022847 -id:a022847
     Sort: relevance | references | number | modified | created      Format: long | short | data
First differences of round(n*sqrt(3)) (A022847).
+20
1
2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2
OFFSET
1,1
MATHEMATICA
Differences[Table[Round[n*Sqrt[3]], {n, 0, 100}]] (* T. D. Noe, Mar 11 2013 *)
CROSSREFS
Cf. A022847.
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Mar 09 2013
EXTENSIONS
More terms from T. D. Noe, Mar 11 2013
STATUS
approved
a(n) = ceiling(n*sqrt(3)).
+10
1
0, 2, 4, 6, 7, 9, 11, 13, 14, 16, 18, 20, 21, 23, 25, 26, 28, 30, 32, 33, 35, 37, 39, 40, 42, 44, 46, 47, 49, 51, 52, 54, 56, 58, 59, 61, 63, 65, 66, 68, 70, 72, 73, 75, 77, 78, 80, 82, 84, 85, 87, 89, 91, 92, 94, 96, 97, 99, 101, 103
OFFSET
0,2
LINKS
MATHEMATICA
Ceiling[Range[0, 60]Sqrt[3]] (* Harvey P. Dale, May 06 2012 *)
PROG
(Magma) [Ceiling(n*Sqrt(3)): n in [0..60]]
(Python)
from math import isqrt
def A198081(n): return 1+isqrt(3*n*n) if n else 0 # Chai Wah Wu, Jul 29 2022
CROSSREFS
Cf. A022847.
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 22 2011
STATUS
approved

Search completed in 0.006 seconds