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.

Showing 1-2 of 2 results.

A245315 Concatenate n-th composite number with concatenation of its prime factors in ascending order.

Original entry on oeis.org

422, 623, 8222, 933, 1025, 12223, 1427, 1535, 162222, 18233, 20225, 2137, 22211, 242223, 2555, 26213, 27333, 28227, 30235, 3222222, 33311, 34217, 3557, 362233, 38219, 39313, 402225, 42237, 442211, 45335, 46223, 4822223
Offset: 1

Views

Author

Jahangeer Kholdi, Sep 15 2014

Keywords

Examples

			a(1)=422 since 4=2*2 and 4 is the first composite integer.
		

Crossrefs

Programs

  • Mathematica
    f[n_]:=FactorInteger[n];con[A_]:=(v1={};l=Length[A];Do[v1=Join[v1,IntegerDigits[A[[k]]]],{k,l}];FromDigits[v1]);alfa[n_]:=(b=f[n];j=Length[b];c=Table[Table[b[[k]][[1]],{b[[k]][[2]]}],{k,j}];w={};Do[w=Join[w,c[[k]]],{k,j}];con[w]);na[n_]:=con[{n,alfa[n]}];v=Select[Range[2,1000],!PrimeQ[#]&];Table[na[v[[k]]],{k,32}]
    ncpf[n_]:=FromDigits[Join[IntegerDigits[n],Flatten[IntegerDigits/@Table[ #[[1]], #[[2]]]&/@FactorInteger[n]]]]; ncpf/@Select[Range[ 100], CompositeQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 03 2019 *)

A245317 Concatenate n-th composite integer with n.

Original entry on oeis.org

41, 62, 83, 94, 105, 126, 147, 158, 169, 1810, 2011, 2112, 2213, 2414, 2515, 2616, 2717, 2818, 3019, 3220, 3321, 3422, 3523, 3624, 3825, 3926, 4027, 4228, 4429, 4530, 4631, 4832, 4933, 5034, 5135, 5236, 5437, 5538, 5639, 5740
Offset: 1

Views

Author

Jahangeer Kholdi, Sep 15 2014

Keywords

Examples

			a(8)=158 since 15 is the 8th composite integer.
		

Crossrefs

Programs

  • Mathematica
    w=Select[Range[2,57],!PrimeQ[#]&];Table[FromDigits[Flatten[{IntegerDigits[w[[n]]],IntegerDigits[n]}]],{n,1,40}]
    With[{cmps=Select[Range[100],CompositeQ]},#[[1]]10^IntegerLength[#[[2]]]+#[[2]]&/@Thread[{cmps,Range[Length[cmps]]}]] (* Harvey P. Dale, Jul 22 2025 *)
Showing 1-2 of 2 results.