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!)
A137674 Numbers m such that A137671(m) = 1. 4
1, 2, 5, 13, 35, 84, 198, 414, 960, 1898, 4263, 8556, 18473, 37490, 79526, 159956, 338873, 680306, 1438941, 2869908, 6057397, 12038460, 25300258, 50460684, 105275708, 211424744, 437486956, 879869316, 1810901110, 3642407379, 7495644753, 15038540180, 30957576741 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Rémy Sigrist, C program for A137674.
FORMULA
A137671(a(n)) = 1.
A137672(a(n)) = 1.
For n > 1: A137671(a(n)-1) = 2^(n-1)-1 = A000225(n-1), A137672(a(n)-1) = n-1, and a(n) = A137673(A137671(a(n)-1)) + 1.
MATHEMATICA
b[1] = 1; b[n_] := b[n] = Count[Array[s, n - 1], s[n - 1]]; s[n_] := s[n] = DigitCount[b[n], 2, 1]; Select[Range[10000], b[#] == 1 &] (* Amiram Eldar, Jul 27 2023 *)
PROG
(C) See Links section.
CROSSREFS
Sequence in context: A114298 A112839 A331755 * A048781 A291242 A097919
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Feb 05 2008
EXTENSIONS
More terms from Rémy Sigrist, Jun 28 2019
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 14 19:28 EDT 2024. Contains 375929 sequences. (Running on oeis4.)