cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A038492 Sums of 2 distinct powers of 12.

This page as a plain text file.
%I A038492 #23 Apr 04 2025 14:36:18
%S A038492 13,145,156,1729,1740,1872,20737,20748,20880,22464,248833,248844,
%T A038492 248976,250560,269568,2985985,2985996,2986128,2987712,3006720,3234816,
%U A038492 35831809,35831820,35831952,35833536,35852544,36080640,38817792,429981697,429981708,429981840,429983424,430002432,430230528
%N A038492 Sums of 2 distinct powers of 12.
%H A038492 Amiram Eldar, <a href="/A038492/b038492.txt">Table of n, a(n) for n = 1..10000</a>
%t A038492 Take[Union[Plus@@@Subsets[12^Range[0,20],{2}]],50] (* _Harvey P. Dale_, Dec 16 2010 *)
%o A038492 (Python)
%o A038492 from math import isqrt
%o A038492 def A038492(n): return 12**(m:=isqrt(n<<3)+1>>1)+12**(n-1-(m*(m-1)>>1)) # _Chai Wah Wu_, Apr 04 2025
%Y A038492 Base-12 interpretation of A038444.
%Y A038492 Cf. A001021, A038493.
%K A038492 nonn,easy
%O A038492 1,1
%A A038492 _Olivier Gérard_
%E A038492 More terms from _Vincenzo Librandi_, Aug 06 2009
%E A038492 Offset corrected by _Amiram Eldar_, Jul 14 2022