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!)
A342831 a(n) is the smallest positive integer k such that the n-dimensional cube [0,k]^n contains at least as many internal lattice points as external lattice points. 1
3, 6, 9, 12, 15, 18, 21, 24, 26, 29, 32, 35, 38, 41, 44, 47, 50, 52, 55, 58, 61, 64, 67, 70, 73, 76, 78, 81, 84, 87, 90, 93, 96, 99, 101, 104, 107, 110, 113, 116, 119, 122, 125, 127, 130, 133, 136, 139, 142, 145, 148, 151, 153, 156, 159, 162, 165, 168, 171, 174, 177, 179, 182 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(1) = 3 and a(n) = floor(2^(1/n+1)/(2^(1/n)-1)) for n > 1.
a(n) = A078608(n) + 1.
EXAMPLE
a(2) > 5 because the number of internal lattice points = 4^2 = 16 < 20 = 6^2 - 16 = the number of external lattice points, therefore a(2)=6 because the number of internal lattice points = 5^2 = 25 > 24 = 7^2 - 25 = number of external lattice points.
MAPLE
a:= n-> ceil(1+2/(2^(1/n)-1)):
seq(a(n), n=1..65); # Alois P. Heinz, Apr 20 2021
MATHEMATICA
a[1] = 3; a[n_] := Floor[2^(1/n + 1)/(2^(1/n) - 1)]; Array[a, 100] (* Amiram Eldar, Mar 31 2021 *)
CROSSREFS
Cf. A078608.
Sequence in context: A160943 A160930 A212662 * A161351 A328168 A209258
KEYWORD
nonn
AUTHOR
Gary Yane, Mar 23 2021
STATUS
approved

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 23 07:42 EDT 2024. Contains 371905 sequences. (Running on oeis4.)