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!)
A157893 Values of m in A080075. 3
1, 2, 3, 2, 4, 3, 5, 3, 4, 3, 6, 4, 5, 4, 7, 4, 5, 4, 6, 4, 5, 4, 8, 5, 6, 5, 7, 5, 6, 5, 9, 5, 6, 5, 7, 5, 6, 5, 8, 5, 6, 5, 7, 5, 6, 5, 10, 6, 7, 6, 8, 6, 7, 6, 9, 6, 7, 6, 8, 6, 7, 6, 11, 6, 7, 6, 8, 6, 7, 6, 9, 6, 7, 6, 8, 6, 7, 6, 10, 6, 7, 6, 8, 6, 7, 6, 9, 6, 7, 6, 8, 6, 7, 6, 12, 7, 8, 7, 9, 7, 8, 7, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Amelia Carolina Sparavigna, Discussion of the groupoid of Proth numbers (OEIS A080075), Politecnico di Torino, Italy (2019).
MATHEMATICA
Select[Table[Append[QuotientRemainder[#1, 2^#2], #2] & @@ {#, IntegerExponent[#, 2]} &[n - 1], {n, 3, 5200, 2}], And[OddQ[#[[1]] ], #[[-1]] >= 1, 2^#[[-1]] > #[[1]] ] &][[All, -1]] (* Michael De Vlieger, Nov 04 2019 *)
PROG
(PARI) a(n) = n++; my(L = logint(n, 2), A = bittest(n, L-1)); L + A + valuation(n - 1 << (L - !A), 2) \\ Mikhail Kurkov, Mar 15 2024
CROSSREFS
Cf. A157892 (values of k in A080075), A080075 (Proth numbers).
Sequence in context: A366280 A317765 A318153 * A331253 A264116 A361000
KEYWORD
nonn
AUTHOR
Zak Seidov, Mar 08 2009
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 19 13:40 EDT 2024. Contains 371792 sequences. (Running on oeis4.)