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!)
A092524 Binary representation of n interpreted in base p, where p is the smallest prime factor of n: p = A020639(n). 10
1, 2, 4, 4, 26, 6, 57, 8, 28, 10, 1343, 12, 2367, 14, 40, 16, 83522, 18, 130341, 20, 91, 22, 280394, 24, 751, 26, 112, 28, 732512, 30, 954305, 32, 244, 34, 3131, 36, 69345327, 38, 256, 40, 115925123, 42, 147087994, 44, 280, 46, 229451087, 48 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
n>1: a(n) = n iff n is even.
a(n) = A005836(n) iff n=6k-3, k>0 (see A016945).
The following sequences all appear to have the same parity: A003071, A029886, A061297, A092524, A093431, A102393, A104258, A122248, A128975. - Jeremy Gardiner, Dec 28 2008
LINKS
EXAMPLE
n = 35 = 7*5 = '100011': 2^5 + 2^1 + 2^0 -> a(35) = 5^5 + 5^1 + 5^0 = 3125+5+1 = 3131.
MATHEMATICA
a[n_] := If[EvenQ[n], n, FromDigits[IntegerDigits[n, 2], FactorInteger[n][[1, 1]]]]; Array[a, 50] (* Amiram Eldar, Aug 02 2020 *)
CROSSREFS
Sequence in context: A009296 A068554 A371373 * A137787 A225171 A320600
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Apr 07 2004
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 14:04 EDT 2024. Contains 371792 sequences. (Running on oeis4.)