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!)
A248564 Numbers k such that A248562(k+1) = A248562(k) + 2. 4
3, 5, 7, 9, 11, 13, 14, 16, 18, 20, 21, 23, 25, 26, 28, 30, 31, 33, 35, 36, 38, 40, 41, 43, 45, 46, 48, 50, 51, 53, 54, 56, 58, 59, 61, 63, 64, 66, 67, 69, 71, 72, 74, 76, 77, 79, 80, 82, 84, 85, 87, 88, 90, 92, 93, 95, 97, 98, 100, 101, 103, 105, 106, 108 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
(A248562(k+1) - A248562(k)) = (1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2,...), so that A248563 = (1, 2, 4, 6, 8, 10, 12, 15, 17, ..) and A248564 = (3, 5, 7, 9, 11, 13, 14, 16, ...).
MATHEMATICA
z = 300; p[k_] := p[k] = Sum[1/(h*3^h), {h, 1, k}];
N[Table[Log[3/2] - p[n], {n, 1, z/5}]]
f[n_] := f[n] = Select[Range[z], Log[3/2] - p[#] < 1/6^n &, 1];
u = Flatten[Table[f[n], {n, 1, z}]] (* A248562 *)
Flatten[Position[Differences[u], 1]] (* A248563 *)
Flatten[Position[Differences[u], 2]] (* A248564 *)
CROSSREFS
Sequence in context: A065878 A186383 A284055 * A286999 A292650 A064996
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 09 2014
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 September 2 19:54 EDT 2024. Contains 375616 sequences. (Running on oeis4.)