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!)
A117068 Decimal value of binary number whose n-th 1 is followed by n^2 0's. 1
5, 161, 164865, 21609185281, 1450167876173430785, 199309555259989211062227435521, 224402609700066672987369178785813291654447105 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
After a(1) = 5, when is a(n) prime?
LINKS
FORMULA
a(n) = SUM[i=1,n] 2^(n+1).
EXAMPLE
a(1) = 5 because 101 (base 2) = 5 (base 10).
a(2) = 161 because 10100001 (base 2) = 161 (base 10).
a(3) = 164865 because 101000010000000001 (base 2) = 164865 (base 10).
MATHEMATICA
Table[FromDigits[Flatten[Join[{1}, Table[Join[PadRight[{}, n^2, 0], {1}], {n, i}]]], 2], {i, 8}] (* Harvey P. Dale, Mar 30 2016 *)
CROSSREFS
Sequence in context: A229163 A322747 A274712 * A185832 A301667 A195950
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Apr 16 2006
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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)