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!)
A364455 Record values of A365196. 1
2, 3, 4, 5, 6, 8, 18, 53, 94, 97, 98, 106, 132, 148, 150, 153, 155, 165, 204, 312 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A365196(A365239(n)).
EXAMPLE
a(1) = 1 with A365196(0) = 2.
a(2) = 2 because A365196(1) = 3.
a(3) = 4 because A365196(9) = 4 is the first term of A365196 greater than 4.
MAPLE
f:= proc(k) local j;
for j from 0 do if not numtheory:-issqrfree(2^j+k) then return j fi
od;
end proc:
A:= 2: m:= 2: count:= 1:
for i from 1 by 2 while count < 19 do
if i mod 3 <> 0 and m >= 6 then next fi;
if i mod 5 <> 0 and m >= 20 then next fi;
v:= f(i);
if v > m then A:= A, v; m:= v; count:= count+1; fi;
od:
A;
MATHEMATICA
r = 0; Rest@ Reap[Do[k = 0; While[SquareFreeQ[2^k + i], k++]; If[k > r, Sow[r]; r = k], {i, 0, 2^16}] ][[-1, 1]] (* Michael De Vlieger, Aug 27 2023 *)
CROSSREFS
Sequence in context: A133706 A081710 A373933 * A358175 A241947 A128421
KEYWORD
nonn,more
AUTHOR
Robert Israel, Aug 27 2023
EXTENSIONS
a(20) from Michael S. Branicky, Aug 30 2023
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 August 2 10:23 EDT 2024. Contains 374838 sequences. (Running on oeis4.)